Hello, I found in the release notes for Solaris 10 9/10: "Oracle Solaris ZFS online device management, which allows customers to make changes to filesystem configurations, without taking data offline." Can somebody kindly clarify what sort of filesystem configuration changes can me made this way? Does this include, say, changing a 6 disk RAID-Z to two 3 disk RAID-Z sets striped? -- This message posted from opensolaris.org
On 11 September, 2010 - besson3c sent me these 0,6K bytes:> Hello, > > I found in the release notes for Solaris 10 9/10: > > "Oracle Solaris ZFS online device management, which allows customers to make changes to filesystem configurations, without taking data offline." > > > Can somebody kindly clarify what sort of filesystem configuration > changes can me made this way?See below.> Does this include, say, changing a 6 disk RAID-Z to two 3 disk RAID-Z > sets striped?Nope. You can add/remove mirrors of disks online (assuming you start with a non-raidz vdev). You can expand a pool by adding more vdevs. You can not transform a raidz from one form to another. You can not remove a vdev. /Tomas -- Tomas ?gren, stric at acc.umu.se, http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Ume? `- Sysadmin at {cs,acc}.umu.se
Ahhh, I figured you could always do that, I guess I was wrong... -- This message posted from opensolaris.org
Can anyone elaborate on the "zpool split" command. I have not seen any examples in use am I am very curious about it. Say I have 12 disks in a pool named tank. 6 in a RAIDZ2 + another 6 in a RAIDZ2. All is well, and I''m not even close to maximum capacity in the pool. Say I want to swap out 6 of the 12 SATA disks for faster SAS disks, and make a new 6 disk pool with just the SAS disks, leaving the existing pool with the SATA disks intact. Can I run something like: zpool split tank dozer c4t8d0 c4t9d0 c4t10d0 c4t11d0 c4t12d0 c4t13d0 zpool export dozer Now, turn off the server, remove the 6 SATA disks. Put in the 6 SAS disks. Power on the server. echo | format to get the disk ID''s of the new SAS disks. zpool create speed raidz disk1 disk2 disk3 disk4 disk5 disk6 Thanks in advance, -Chris On Sat, Sep 11, 2010 at 4:37 PM, besson3c <joe at netmusician.org> wrote:> Ahhh, I figured you could always do that, I guess I was wrong... > -- > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100913/3895b8fe/attachment-0001.html>
On Sep 13, 2010, at 4:40 PM, Chris Mosetick wrote:> Can anyone elaborate on the "zpool split" command. I have not seen any examples in use am I am very curious about it. Say I have 12 disks in a pool named tank. 6 in a RAIDZ2 + another 6 in a RAIDZ2. All is well, and I''m not even close to maximum capacity in the pool. Say I want to swap out 6 of the 12 SATA disks for faster SAS disks, and make a new 6 disk pool with just the SAS disks, leaving the existing pool with the SATA disks intact.zpool split only works on mirrors. For examples, see the section "Creating a New Pool By Splitting a Mirrored ZFS Storage Pool" in the ZFS Admin Guide. -- richard -- OpenStorage Summit, October 25-27, Palo Alto, CA http://nexenta-summit2010.eventbrite.com Richard Elling richard at nexenta.com +1-760-896-4422 Enterprise class storage for everyone www.nexenta.com
So are there now any methods to achieve the scenario I described to shrink a pools size with existing ZFS tools? I don''t see a definitive way listed on the old shrinking thread<http://www.opensolaris.org/jive/thread.jspa?threadID=8125> . Thank you, -Chris On Mon, Sep 13, 2010 at 4:55 PM, Richard Elling <Richard at nexenta.com> wrote:> On Sep 13, 2010, at 4:40 PM, Chris Mosetick wrote: > > > Can anyone elaborate on the "zpool split" command. I have not seen any > examples in use am I am very curious about it. Say I have 12 disks in a > pool named tank. 6 in a RAIDZ2 + another 6 in a RAIDZ2. All is well, and > I''m not even close to maximum capacity in the pool. Say I want to swap out > 6 of the 12 SATA disks for faster SAS disks, and make a new 6 disk pool with > just the SAS disks, leaving the existing pool with the SATA disks intact. > > zpool split only works on mirrors. > > For examples, see the section "Creating a New Pool By Splitting a Mirrored > ZFS > Storage Pool" in the ZFS Admin Guide. > -- richard > > -- > OpenStorage Summit, October 25-27, Palo Alto, CA > http://nexenta-summit2010.eventbrite.com > > Richard Elling > richard at nexenta.com +1-760-896-4422 > Enterprise class storage for everyone > www.nexenta.com > > > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100913/3e9c2488/attachment.html>
On Sep 13, 2010, at 5:51 PM, Chris Mosetick wrote:> So are there now any methods to achieve the scenario I described to shrink a pools size with existing ZFS tools? I don''t see a definitive way listed on the old shrinking thread.Today, there is no way to accomplish what you want without copying. -- richard -- OpenStorage Summit, October 25-27, Palo Alto, CA http://nexenta-summit2010.eventbrite.com Richard Elling richard at nexenta.com +1-760-896-4422 Enterprise class storage for everyone www.nexenta.com