Is there a way to to a create a zfs file system (e.g. zpool create boot /dev/dsk/c0t0d0s1) Then, (after vacating the old boot disk) add another device and make the zpool a mirror? (as in: zpool create boot mirror /dev/dsk/c0t0d0s1 /dev/dsk/c1t0d0s1) Thanks! emike This message posted from opensolaris.org
E. Mike Durbin wrote:> Is there a way to to a create a zfs file system > (e.g. zpool create boot /dev/dsk/c0t0d0s1) > > Then, (after vacating the old boot disk) add another > device and make the zpool a mirror? >zpool attach -- richard> (as in: zpool create boot mirror /dev/dsk/c0t0d0s1 /dev/dsk/c1t0d0s1) > > Thanks! > > emike > > > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >
> E. Mike Durbin wrote: > > Is there a way to to a create a zfs file system > > (e.g. zpool create boot /dev/dsk/c0t0d0s1) > > > > Then, (after vacating the old boot disk) add > another > > device and make the zpool a mirror? > > > > zpool attach > -- richard > > (as in: zpool create boot mirror /dev/dsk/c0t0d0s1 > /dev/dsk/c1t0d0s1) > > > > Thanks! > > > > emike > > > >Thanks, but for starters, where is the best place to find info like this (i.e., the easiest to get started on zfs)? This message posted from opensolaris.org
W. Wayne Liauh wrote:>> E. Mike Durbin wrote: >> >>> Is there a way to to a create a zfs file system >>> (e.g. zpool create boot /dev/dsk/c0t0d0s1) >>> >>> Then, (after vacating the old boot disk) add >>> >> another >> >>> device and make the zpool a mirror? >>> >>> >> zpool attach >> -- richard >> >>> (as in: zpool create boot mirror /dev/dsk/c0t0d0s1 >>> >> /dev/dsk/c1t0d0s1) >> >>> Thanks! >>> >>> emike >>> >>> >>> > > Thanks, but for starters, where is the best place to find info like this (i.e., the easiest to get started on zfs)? >The main ZFS community site is: http://www.opensolaris.org/os/community/zfs/ There is a lot of good information and step-by-step examples in the ZFS Administration Guide located under the docs section: http://www.opensolaris.org/os/community/zfs/docs/ -- richard
Richard Elling <Richard.Elling at Sun.COM> writes:> W. Wayne Liauh wrote: >>> E. Mike Durbin wrote: >>> >>>> Is there a way to to a create a zfs file system >>>> (e.g. zpool create boot /dev/dsk/c0t0d0s1) >>>> >>>> Then, (after vacating the old boot disk) add >>>> >>> another >>> >>>> device and make the zpool a mirror? >>>> >>>> >>> zpool attach >>> -- richard >>> >>>> (as in: zpool create boot mirror /dev/dsk/c0t0d0s1 >>>> >>> /dev/dsk/c1t0d0s1) >>> >>>> Thanks! >>>> >>>> emike >>>> >>>> >>>> >> >> Thanks, but for starters, where is the best place to find info like this (i.e., the easiest to get started on zfs)? >> > > The main ZFS community site is: > http://www.opensolaris.org/os/community/zfs/ > > There is a lot of good information and step-by-step examples > in the ZFS Administration Guide located under the docs > section: > http://www.opensolaris.org/os/community/zfs/docs/ > -- richardI''d further add that, since there are only 2 zfs related commands[1], reading the man pages for zpool(1M) and zfs(1M) is a good investment of time. Boyd. [1] I''m aware of zdb, but it''s not really relevant to this discussion.