Hi all, as I am newbie in ZFS, yesterday I played with it a little bit and there are so many good things but I''ve notes few things I couldn''t explain so..... 1) It''s not possible anymore within a pool create a file system with a specific size....If I have 2 file systems I can''t decide to give for example 10g to one and 20g to the other one unless I set a reservation for them. Also I tried to manually create pool with slices and have for each pool a FS with the size I wanted......Is that true? 2) I mirrored 2 disks within the same D1000 and while I was putting a big tar ball in the FS I tried to physically remove one mirror and ......I had to turn off the system as I couldn''t login in even trough the console..... Is there something wrong on what I did? cheers -- Alf
On 22/09/06, Alf <san2rini at fastwebnet.it> wrote:> 1) It''s not possible anymore within a pool create a file system with a > specific size....If I have 2 file systems I can''t decide to give for > example 10g to one and 20g to the other one unless I set a reservation > for them. Also I tried to manually create pool with slices and have for > each pool a FS with the size I wanted......Is that true?zfs set quota=5G poolname/fsname will give you a filesystem that shows up as 5GiB in ''df'' - is that what you want?> 2) I mirrored 2 disks within the same D1000 and while I was putting a > big tar ball in the FS I tried to physically remove one mirror andYou mean pull it out? Does your hardware support hotswap? -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/
Hi, Dick Davies wrote:> On 22/09/06, Alf <san2rini at fastwebnet.it> wrote: > >> 1) It''s not possible anymore within a pool create a file system with a >> specific size....If I have 2 file systems I can''t decide to give for >> example 10g to one and 20g to the other one unless I set a reservation >> for them. Also I tried to manually create pool with slices and have for >> each pool a FS with the size I wanted......Is that true? > > zfs set quota=5G poolname/fsname > > will give you a filesystem that shows up as 5GiB in ''df'' - is that > what you want? >I tried quota and it works fine but if you have another fs that takes all the space you have in the pool, your FS will not have space for itself. So set a reservation for the FS is fine but comparing with other VOLUME MANAGER is different....that''s what I am asking! > You mean pull it out? Does your hardware support hotswap? As far as I know D1000 support it....does it? cheers Dick Davies wrote:> On 22/09/06, Alf <san2rini at fastwebnet.it> wrote: > >> 1) It''s not possible anymore within a pool create a file system with a >> specific size....If I have 2 file systems I can''t decide to give for >> example 10g to one and 20g to the other one unless I set a reservation >> for them. Also I tried to manually create pool with slices and have for >> each pool a FS with the size I wanted......Is that true? > > zfs set quota=5G poolname/fsname > > will give you a filesystem that shows up as 5GiB in ''df'' - is that > what you want? > > >> 2) I mirrored 2 disks within the same D1000 and while I was putting a >> big tar ball in the FS I tried to physically remove one mirror and > > You mean pull it out? Does your hardware support hotswap? >-- Alfredo De Luca =================================May you live in interesting times. ==================================
Alf wrote:> Hi all, > as I am newbie in ZFS, yesterday I played with it a little bit and there > are so many good things but I''ve notes few things I couldn''t explain > so..... > > 1) It''s not possible anymore within a pool create a file system with a > specific size....If I have 2 file systems I can''t decide to give for > example 10g to one and 20g to the other one unless I set a reservation > for them. Also I tried to manually create pool with slices and have for > each pool a FS with the size I wanted......Is that true?The whole point of ZFS is that you don''t need to worry about this type of thing. As you have already noticed if you really want to you can use reservations to do this but it is often better to not set reservations or quotas unless it is really needed. The great thing about ZFS is you have the flexibility to choose, and you can easily change your mind later without having to deal with a volume manager and a file system. -- Darren J Moffat
Alf wrote:> Hi, > Dick Davies wrote: >> On 22/09/06, Alf <san2rini at fastwebnet.it> wrote: >> >>> 1) It''s not possible anymore within a pool create a file system with a >>> specific size....If I have 2 file systems I can''t decide to give for >>> example 10g to one and 20g to the other one unless I set a reservation >>> for them. Also I tried to manually create pool with slices and have for >>> each pool a FS with the size I wanted......Is that true? >> >> zfs set quota=5G poolname/fsname >> >> will give you a filesystem that shows up as 5GiB in ''df'' - is that >> what you want? >> > I tried quota and it works fine but if you have another fs that takes > all the space you have in the pool, your FS will not have space for > itself. So set a reservation for the FS is fine but comparing with other > VOLUME MANAGER is different....that''s what I am asking!with volume managers (ZFS is more than a VM), you don''t get to share all the free space between file systems - that''s one of the BIG advantages of zfs, IMO. I think using reservations is a very minor "nuisance" in comparison to the administrative effort you have to go to in other Volume Managers to "move" free space from one FS to another. -- Michael Schuster +49 89 46008-2974 / x62974 visit the online support center: http://www.sun.com/osc/ Recursion, n.: see ''Recursion''
Hi Michael, I completely agree with you. I was just wondering about the differences between ZFS and others VM and also if I got the essence of it. Also customers could ask these things and if they can use ZFS filesystems like old fashion mode setting a specific size. What do you thing about pulling out a mirror on D1000 and the completely hang of the system? -- Alf Michael Schuster wrote:> Alf wrote: >> Hi, >> Dick Davies wrote: >>> On 22/09/06, Alf <san2rini at fastwebnet.it> wrote: >>> >>>> 1) It''s not possible anymore within a pool create a file system with a >>>> specific size....If I have 2 file systems I can''t decide to give for >>>> example 10g to one and 20g to the other one unless I set a reservation >>>> for them. Also I tried to manually create pool with slices and have >>>> for >>>> each pool a FS with the size I wanted......Is that true? >>> >>> zfs set quota=5G poolname/fsname >>> >>> will give you a filesystem that shows up as 5GiB in ''df'' - is that >>> what you want? >>> >> I tried quota and it works fine but if you have another fs that takes >> all the space you have in the pool, your FS will not have space for >> itself. So set a reservation for the FS is fine but comparing with >> other VOLUME MANAGER is different....that''s what I am asking! > > with volume managers (ZFS is more than a VM), you don''t get to share > all the free space between file systems - that''s one of the BIG > advantages of zfs, IMO. I think using reservations is a very minor > "nuisance" in comparison to the administrative effort you have to go > to in other Volume Managers to "move" free space from one FS to another. > > >-- Alfredo De Luca =================================May you live in interesting times. ==================================
Alf wrote:> What do you thing about pulling out a mirror on D1000 and the completely > hang of the system?I on purpose left that for others to answer - I don''t know HW well enough by far :-) -- Michael Schuster +49 89 46008-2974 / x62974 visit the online support center: http://www.sun.com/osc/ Recursion, n.: see ''Recursion''
Alf wrote:> Hi Michael, > I completely agree with you. I was just wondering about the differences > between ZFS and others VM and also if I got the essence of it. > Also customers could ask these things and if they can use ZFS > filesystems like old fashion mode setting a specific size.That is part of the problem - ZFS _requires_ a complete re-working of your understanding of how storage works, because the old limitations are no longer valid. If the customer actually wants to get benefit from ZFS then they have to be prepared to undergo a paradigm shift. James C. McPherson -- Solaris kernel software engineer, system admin and troubleshooter http://www.jmcp.homeunix.com/blog Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson
Hi James, I agree. with you but I think it could take a while.... cheers Alf James C. McPherson wrote:> Alf wrote: >> Hi Michael, >> I completely agree with you. I was just wondering about the >> differences between ZFS and others VM and also if I got the essence >> of it. >> Also customers could ask these things and if they can use ZFS >> filesystems like old fashion mode setting a specific size. > > That is part of the problem - ZFS _requires_ a complete re-working > of your understanding of how storage works, because the old limitations > are no longer valid. > > If the customer actually wants to get benefit from ZFS then they have > to be prepared to undergo a paradigm shift. > > > James C. McPherson > -- > Solaris kernel software engineer, system admin and troubleshooter > http://www.jmcp.homeunix.com/blog > Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson > > >-- Alfredo De Luca =================================May you live in interesting times. ==================================
Alf writes: > Hi James, > I agree. with you but I think it could take a while.... > > cheers > > Alf > > > James C. McPherson wrote: > > Alf wrote: > >> Hi Michael, > >> I completely agree with you. I was just wondering about the > >> differences between ZFS and others VM and also if I got the essence > >> of it. > >> Also customers could ask these things and if they can use ZFS > >> filesystems like old fashion mode setting a specific size. > > > > That is part of the problem - ZFS _requires_ a complete re-working > > of your understanding of how storage works, because the old limitations > > are no longer valid. > > > > If the customer actually wants to get benefit from ZFS then they have > > to be prepared to undergo a paradigm shift. > > > > > > James C. McPherson > > -- > > Solaris kernel software engineer, system admin and troubleshooter > > http://www.jmcp.homeunix.com/blog > > Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson > > > > > > > > -- > Alfredo De Luca > > > ================================= > May you live in interesting times. > ================================= > > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss In case this needs mentioning, it''s quite all right to deploy ZFS over any VM technology. -r
On 9/22/06, Dick Davies <rasputnik at gmail.com> wrote:> On 22/09/06, Alf <san2rini at fastwebnet.it> wrote: >> > 2) I mirrored 2 disks within the same D1000 and while I was putting a > > big tar ball in the FS I tried to physically remove one mirror and > > You mean pull it out? Does your hardware support hotswap?And even more to the point, do the Solaris drivers support hotswap on your hardware? When I was first inquring about hotswap hardware (about which I knew nothing then) nobody warned me about this, and I''m now the proud owner of a fine case with 8 hot-swap bays which work fine -- but it turns out that Solaris doesn''t support hotswap on the SATA controllers on my motherboard, although it access the disks through them fine. In fact, it turns out (read recent postings) that even chipsets it claims to support are still being issued on new hardware in steppings that aren''t actually supported. This area seems to be a major minefield currently. -- David Dyer-Bennet, <mailto:dd-b at dd-b.net>, <http://www.dd-b.net/dd-b/> RKBA: <http://www.dd-b.net/carry/> Pics: <http://www.dd-b.net/dd-b/SnapshotAlbum/> Dragaera/Steven Brust: <http://dragaera.info/>
> > You mean pull it out? Does your hardware support hotswap? > > As far as I know D1000 support it....does it?I''m sure the D1000 is fine with the concept. It''s probably something in the software stack that is upset. I was told that a similar issue that I once had when testing was likely due to some limitations in how ZFS and the sd driver communicates. That the sd driver will take a really long time to timeout each of what may be several I/Os to it. -- Darren Dunham ddunham at taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. >