Lars Jensen
Explorer
- Joined
- Feb 5, 2013
- Messages
- 63
Hi
I can import the old freenas-boot pool with below. The boot disk is failed, and can't mount writable.
zpool import -f -o readonly=on 411385681102580359 old_pool
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
Test 928G 10.0M 928G - 0% 0% 1.00x ONLINE /mnt
freenas-boot 117G 648M 116G - - 0% 1.00x ONLINE -
old_pool 7.44G 4.91G 2.53G - 0% 65% 1.00x ONLINE -
My issue is that I can't mount the imported old_pool on another path than /, it seems to mount over the existing directory structure by also having the / directory as mount point, and this messes up FreeNAS in general (which is understandable).
zfs set mountpoint=/mnt/rescue old_pool/ROOT/9.10.2-U6
Above gives me "internal error: out of memory" (which I guess is because of the readonly mount)
Below mounts over the / directory and I can see my files but can't copy them anywhere since FreeNAS behaviour is fubar (rsync, scp etc. commands doesn't work)
zfs mount -o ro old_pool/ROOT/9.10.2-U6 (works but I can't copy files out to another location)
Any tricks to mount old_pool/ROOT/9.10.2-U6 on another path than / ?
I can import the old freenas-boot pool with below. The boot disk is failed, and can't mount writable.
zpool import -f -o readonly=on 411385681102580359 old_pool
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
Test 928G 10.0M 928G - 0% 0% 1.00x ONLINE /mnt
freenas-boot 117G 648M 116G - - 0% 1.00x ONLINE -
old_pool 7.44G 4.91G 2.53G - 0% 65% 1.00x ONLINE -
My issue is that I can't mount the imported old_pool on another path than /, it seems to mount over the existing directory structure by also having the / directory as mount point, and this messes up FreeNAS in general (which is understandable).
zfs set mountpoint=/mnt/rescue old_pool/ROOT/9.10.2-U6
Above gives me "internal error: out of memory" (which I guess is because of the readonly mount)
Below mounts over the / directory and I can see my files but can't copy them anywhere since FreeNAS behaviour is fubar (rsync, scp etc. commands doesn't work)
zfs mount -o ro old_pool/ROOT/9.10.2-U6 (works but I can't copy files out to another location)
Any tricks to mount old_pool/ROOT/9.10.2-U6 on another path than / ?