marvin curlee
2011-Aug-08 19:53 UTC
[zfs-discuss] rpool recover not using zfs send/receive
Is it possible to recover the rpool with only a tar/star archive of the root filesystem? I have used the zfs send/receive methods and that work without a problem. What I am trying to do is recreate the rpool and underlying zfs filesystems (rpool/ROOT, rpool/s10_uXXXXXX, rpool/dump, rpool/swap, rpool/export, and rpool/export/home). I then mount the pool at a alternate root and restore the tar archive. Lastly, I set the zpool bootf option to the correct zfs filesystem and run the installgrub command. I have not had any luck so far. -- This message posted from opensolaris.org
On 08/ 9/11 07:53 AM, marvin curlee wrote:> Is it possible to recover the rpool with only a tar/star archive of the root filesystem? I have used the zfs send/receive methods and that work without a problem. > > What I am trying to do is recreate the rpool and underlying zfs filesystems (rpool/ROOT, rpool/s10_uXXXXXX, rpool/dump, rpool/swap, rpool/export, and rpool/export/home). I then mount the pool at a alternate root and restore the tar archive. Lastly, I set the zpool bootf option to the correct zfs filesystem and run the installgrub command. I have not had any luck so far.You will have to recreate the filesystem hierarchy before restoring the data. It''s always a good idea to archive the output of zfs list -r along with the data. -- Ian.
marvin curlee
2011-Aug-09 00:19 UTC
[zfs-discuss] rpool recover not using zfs send/receive
I discovered my problem. I didn''t notice that the base rpool was broken out and mounted as /rpool . After restoring /rpool the machine booted without error. Thanks -- This message posted from opensolaris.org
Possibly Parallel Threads
- USB sticks show on one set of devices in zpool, different devices in format
- cannot set property for ''rpool'': property ''bootfs'' not supported on EFI labeled devices
- SUMMARY: mounting datasets from a read-only pool with aid of tmpfs
- Expanding a root pool
- Problem w/ b95 + ZFS (version 11) - seeing fair number of errors on multiple machines