I have one drive that I''m running OpenSolaris on and a 6-drive RAIDZ. Unfortunately I don''t have another drive to mirror the OS drive, so I was wondering what the best way to back up that drive is. Can I mirror it onto a file on the RAIDZ, or will this cause problems before the array is loaded when booting? What about zfs send and recv to the RAIDZ? -- This message posted from opensolaris.org
Hi Tertius, I think you are saying that you have an OpenSolaris system with a one-disk root pool and a 6-way RAIDZ non-root pool. You could create root pool snapshots and send them over to the non-root pool or to a pool on another system. Then, consider purchasing another disk for a mirrored root pool configuration. The root pool snapshot recovery process is described here: http://www.solarisinternals.com/wiki/index.php/ZFS_Troubleshooting_Guide#ZFS_Root_Pool_Recovery Cindy Tertius Lydgate wrote:> I have one drive that I''m running OpenSolaris on and a 6-drive RAIDZ. Unfortunately I don''t have another drive to mirror the OS drive, so I was wondering what the best way to back up that drive is. Can I mirror it onto a file on the RAIDZ, or will this cause problems before the array is loaded when booting? What about zfs send and recv to the RAIDZ?
Hi cindys, That recovery procedure seems overly complex. I''ve instead purchased a disk to mirror my root pool onto. Unfortunately, it seems that the disk is slightly smaller than my current rpool. However I would be happy to have a mirror the same size as the smaller disk. Is there a way to mirror onto a smaller disk, or alternately to send the root pool to the smaller disk, boot from it, then mirror to the larger one? Thanks, Lydgate -- This message posted from opensolaris.org
The fix for CR 6844090, zfs should be able to mirror to a smaller disk, was supposedly integrated into b117, which is now available for SXCE and OpenSolaris. I have not tested it yet, though. If you test it, please report your experience. -- richard Tertius Lydgate wrote:> Hi cindys, > > That recovery procedure seems overly complex. I''ve instead purchased a disk to mirror my root pool onto. Unfortunately, it seems that the disk is slightly smaller than my current rpool. However I would be happy to have a mirror the same size as the smaller disk. Is there a way to mirror onto a smaller disk, or alternately to send the root pool to the smaller disk, boot from it, then mirror to the larger one? > > Thanks, > > Lydgate >
Hi Tertius, Yes, I agree that the process is complex and mirroring the root pool improves downtime due to hardware failures, but I would still keep root pool snapshots. Richard posted a follow up that you can attach a disk that is slight smaller after the integration of 6844090 into build 117: http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6844090 I tried this and it does work. I can''t remember now on which disks I tested this feature, but the disks were the same general size with slightly different geometry. Cindy ----- Original Message ----- From: Tertius Lydgate <no-reply at opensolaris.org> Date: Wednesday, July 1, 2009 3:44 pm Subject: Re: [zfs-discuss] Backing up OS drive? To: zfs-discuss at opensolaris.org> Hi cindys, > > That recovery procedure seems overly complex. I''ve instead purchased > a disk to mirror my root pool onto. Unfortunately, it seems that the > disk is slightly smaller than my current rpool. However I would be > happy to have a mirror the same size as the smaller disk. Is there a > way to mirror onto a smaller disk, or alternately to send the root > pool to the smaller disk, boot from it, then mirror to the larger one? > > Thanks, > > Lydgate > -- > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss