mattlach
Patron
- Joined
- Oct 14, 2012
- Messages
- 280
Hey all.
I rebooted my FreeNAS box today to replace a drive.
I scared myself a little when I looked at the volume in the web interface and was greeted by the information:
I started my resilver anyway and then started investigating.
Zpool status indicates my data is still there, and my resilver is going well: (why is it resilver? I thought it was sliver? Anyway, moving right along)
Then I went to look at my data at the mountpoint under /mnt only to find that it wasn't there.
Weird I thought, so I decided to try to mount it with "zfs mount -a" which gave me an error, as the file system is read only, and it tried to mount it under the default / location.
Anyway, does anyone know why it would have failed to mount on boot?
Could it be because my root partition has very little space free?
For whatever reason the default partition size seems to be ~ 1 gig, even though I installed it on a 4 GB drive. Not quite sure why this is.
It seems like every time I upgrade, I get less and less free space left. Do upgrades leave stuff behind? Is there any way I can remove that stuff?
Also, I installed binutils and gcc a while back in order to compile a driver I needed. I don't need them anymore and wouldn't mind removing them, but ports won't let me because of dependencies:
I'm not quite sure what aria is, but I am fairly certain samba was installed by default even before I installed binutils and gcc, so how can it be a dependency now???
Also, if it is space dependent, and I can't free up space, is there a way I can grow the partition?
Anyway, I'd appreciate any help in solving this issue!
Thanks,
Matt
I rebooted my FreeNAS box today to replace a drive.
I scared myself a little when I looked at the volume in the web interface and was greeted by the information:
Code:
Used: 0 (error) Available: Error getting available space Size: Error getting total space
I started my resilver anyway and then started investigating.
Zpool status indicates my data is still there, and my resilver is going well: (why is it resilver? I thought it was sliver? Anyway, moving right along)
Code:
# zpool status pool: RAIDz2-01 state: DEGRADED status: One or more devices is currently being resilvered. The pool will continue to function, possibly in a degraded state. action: Wait for the resilver to complete. scan: resilver in progress since Mon May 26 17:31:27 2014 447G scanned out of 2.79T at 397M/s, 1h43m to go 54.6G resilvered, 15.64% done config: NAME STATE READ WRITE CKSUM RAIDz2-01 DEGRADED 0 0 0 raidz2-0 DEGRADED 0 0 0 da1p2 ONLINE 0 0 0 da2p2 ONLINE 0 0 0 da3p2 ONLINE 0 0 0 da4p2 ONLINE 0 0 0 da5p2 ONLINE 0 0 0 da6p2 ONLINE 0 0 0 da7p2 ONLINE 0 0 0 replacing-7 OFFLINE 0 0 0 2901464765091125052 OFFLINE 0 0 0 gptid/17289b87-e51d-11e3-9791-001517168acc ONLINE 0 0 0 (resilvering) errors: No known data errors
Then I went to look at my data at the mountpoint under /mnt only to find that it wasn't there.
Weird I thought, so I decided to try to mount it with "zfs mount -a" which gave me an error, as the file system is read only, and it tried to mount it under the default / location.
Anyway, does anyone know why it would have failed to mount on boot?
Could it be because my root partition has very little space free?
Code:
# df -h Filesystem Size Used Avail Capacity Mounted on /dev/ufs/FreeNASs1a 926M 829M 23M 97% / devfs 1.0k 1.0k 0B 100% /dev /dev/md0 4.6M 3.3M 899k 79% /etc /dev/md1 823k 1.5k 756k 0% /mnt /dev/md2 149M 42M 94M 31% /var /dev/ufs/FreeNASs4 19M 3.8M 14M 21% /data
For whatever reason the default partition size seems to be ~ 1 gig, even though I installed it on a 4 GB drive. Not quite sure why this is.
It seems like every time I upgrade, I get less and less free space left. Do upgrades leave stuff behind? Is there any way I can remove that stuff?
Also, I installed binutils and gcc a while back in order to compile a driver I needed. I don't need them anymore and wouldn't mind removing them, but ports won't let me because of dependencies:
Code:
# pkg_delete binutils-2.24 pkg_delete: package 'binutils-2.24' is required by these other packages and may not be deinstalled: gcc47-4.7.4.20131214 aria2-1.18.2 samba41-4.1.6 # pkg_delete gcc47-4.7.4.20131214 pkg_delete: package 'gcc47-4.7.4.20131214' is required by these other packages and may not be deinstalled: aria2-1.18.2 samba41-4.1.6
I'm not quite sure what aria is, but I am fairly certain samba was installed by default even before I installed binutils and gcc, so how can it be a dependency now???
Also, if it is space dependent, and I can't free up space, is there a way I can grow the partition?
Anyway, I'd appreciate any help in solving this issue!
Thanks,
Matt