Displaying 1 result from an estimated 1 matches for "w_zfs".
2007 Jul 27
0
cloning disk with zpool
...0 and place the disk on c2d0 in c1d0
boot in failsafe
clean the zpool
zpool import rootpool
zpool rootpool c1d0 #(yeah I know this look strange because
at that time we have a zpool status saying that the zpool is constitued of two disk c1d0 and c1d0)
# try to repair the zpool.cache
mkdir /tmp/w_zfs # w stand for write
mount -F lofs /tmp/w_zfs /etc/zfs
touch /etc/zfs/foo # to check if writable
rm /etc/zfs/foo
zpool export rootpool
zpool import rootpool
## okay we can see now that there is a /etc/zfs/zpool.cache
# lets put the new zpool.cache in the rootpool/rootfs
mkdir /tmp/rootpool
mount...