Re: [zfs-discuss] Stupid to have 2 disk raidz?

2009-10-15 Thread Eugen Leitl
On Thu, Oct 15, 2009 at 03:32:44PM -0700, Erik Trimble wrote: > Expanding a RAIDZ (i.e. adding another disk for data, not parity) is a > constantly-asked-for feature. > > It's decidedly non-trivial (frankly, I've been staring at the code for a > year now, trying to figure out how, and I'm just

Re: [zfs-discuss] pool as root of zone

2009-10-15 Thread Bryan Allen
> Hank Ratzesberger wrote: > Hi, I'm Hank and I'm recovering from a crash attempting to make a zfs > pool the root/mountpoint of a zone install. > > I want to make the zone appear as a completely configurable zfs file system > to the root user of the zone. Apparently that is not exactly the way

Re: [zfs-discuss] pool as root of zone

2009-10-15 Thread Ian Collins
Hank Ratzesberger wrote: Hi, I'm Hank and I'm recovering from a crash attempting to make a zfs pool the root/mountpoint of a zone install. I want to make the zone appear as a completely configurable zfs file system to the root user of the zone. Apparently that is not exactly the way things wo

Re: [zfs-discuss] Mount ZFS on Dual Boot Machine (open)solaris

2009-10-15 Thread Cameron Jones
thanks! by cross-mounting do you mean mounting the drives on 2 running OS's? that wasn't really what i was looking for but nice to know the option is there, even tho not recommended! my only real aim was to have the 3 disks accessible when booting into either OS so i could share archived data

Re: [zfs-discuss] Not a tragedy just a question

2009-10-15 Thread Norm Jacobs
Harry Putnam wrote: I've been running mirrored disks on several pairs of disks. Mostly on the advice of old timers here. I wondered if I were to do something like `rm -rf /$SomeUnexpectedlyEmptyVar' flattening and removing `/', would I be able to retrieve it from the mirror? no, the syst

[zfs-discuss] Not a tragedy just a question

2009-10-15 Thread Harry Putnam
I've been running mirrored disks on several pairs of disks. Mostly on the advice of old timers here. I wondered if I were to do something like `rm -rf /$SomeUnexpectedlyEmptyVar' flattening and removing `/', would I be able to retrieve it from the mirror? I know about snapshots etc... but sud

Re: [zfs-discuss] Mount ZFS on Dual Boot Machine (open)solaris

2009-10-15 Thread Frank Middleton
On 10/15/09 20:36, Cameron Jones wrote: My question is tho, since I can boot into either OpenSolaris or Solaris (but not both at the same time obviousvly :) i'd like to be able to mount the other disks into whatever host OS i boot into. Is this possible& recommended? Definitely possible. W

[zfs-discuss] Mount ZFS on Dual Boot Machine (open)solaris

2009-10-15 Thread Cameron Jones
Hi, Sorry if this is a dumb question but i can't seem to find an anwser anything close to what i am trying to figure out... I have a dual boot machine with 3 disks - 2 x 1TB mirror OpenSolaris with ZFS root pool 1x 250GB Solaris 10 with ZFS root pool This is a development\testing\home file ser

Re: [zfs-discuss] primarycache and secondarycache properties on Solaris 10 u8

2009-10-15 Thread Richard Elling
On Oct 15, 2009, at 3:13 PM, Bob Friesenhahn wrote: On Thu, 15 Oct 2009, Richard Elling wrote: No. UFS directio does 3 things: 1. unbuffered I/O 2. allow concurrent writers (no single-writer lock) 3. provide an improved async I/O code path For #1, the ZFS equivalent is

Re: [zfs-discuss] primarycache and secondarycache properties on Solaris 10 u8

2009-10-15 Thread Bob Friesenhahn
On Thu, 15 Oct 2009, Frank Middleton wrote: IIRC the trigger for this thread was the suggestion that primarycache=none be set on datasets used for swap. Presumably swap only gets used when memory is low or exhausted, so it would it be correct to say that it wouldn't make any sense for swap to

[zfs-discuss] sub-optimal ZFS performance

2009-10-15 Thread Henrik Johansson
Hello, ZFS is behaving strange on a OSOL laptop, your thoughts are welcome. I am running OSOL on my laptop, currently b124 and i found that the performance of ZFS is not optimal in all situations. If i check the how much space the package cache for pkg(1) uses, it takes a bit longer on thi

Re: [zfs-discuss] primarycache and secondarycache properties on Solaris 10 u8

2009-10-15 Thread Frank Middleton
IIRC the trigger for this thread was the suggestion that primarycache=none be set on datasets used for swap. Presumably swap only gets used when memory is low or exhausted, so it would it be correct to say that it wouldn't make any sense for swap to be in /any/ cache? If this isn't what primar

Re: [zfs-discuss] Stupid to have 2 disk raidz?

2009-10-15 Thread Erik Trimble
Matthias Appel wrote: Additionally, with a two disk RAIDZ1 you are doing parity calculations for no good reason. I would recommend a mirror. Will there ever be the possibility to extend a RAIDZ mirror with another disk? Linux can do this since kernel 2.6.17 (at least). I know this i

Re: [zfs-discuss] Interesting performance comparison

2009-10-15 Thread Bob Friesenhahn
On Fri, 16 Oct 2009, Trevor Pretty wrote: Sorry: Pointless and a waste of time until we get some detail! http://fsbench.filesystems.org/papers/cheating.pdf Yes. Windows will be using NTFS but Linux has a choice of many filesystems. The default is usually ext3, which does not perform as we

Re: [zfs-discuss] primarycache and secondarycache properties on Solaris 10 u8

2009-10-15 Thread Bob Friesenhahn
On Thu, 15 Oct 2009, Richard Elling wrote: No. UFS directio does 3 things: 1. unbuffered I/O 2. allow concurrent writers (no single-writer lock) 3. provide an improved async I/O code path For #1, the ZFS equivalent is primarycache=none, but you might find that primarycac

Re: [zfs-discuss] Stupid to have 2 disk raidz?

2009-10-15 Thread Matthias Appel
> Additionally, with a two disk RAIDZ1 you are doing parity calculations > for > no good reason. I would recommend a mirror. Will there ever be the possibility to extend a RAIDZ mirror with another disk? Linux can do this since kernel 2.6.17 (at least). I know this is not an really an enterp

Re: [zfs-discuss] Interesting performance comparison

2009-10-15 Thread Trevor Pretty
Sorry: Pointless and a waste of time until we get some detail! http://fsbench.filesystems.org/papers/cheating.pdf Cyril Plisko wrote: Hello ! There is an interesting performance comparison of three popular operating systems [1], I thought it could be of interest for people hang

Re: [zfs-discuss] primarycache and secondarycache properties on Solaris 10 u8

2009-10-15 Thread Richard Elling
On Oct 15, 2009, at 1:19 PM, Javier Conde wrote: Hello, I've seen in the "what's new" of Solaris 10 update 8 just released that ZFS now includes the "primarycache" and "secondarycache" properties. Is this the "equivalent" of the UFS directio? No. UFS directio does 3 things: 1. u

Re: [zfs-discuss] primarycache and secondarycache properties on Solaris 10 u8

2009-10-15 Thread Cindy Swearingen
Other than how to turn these features on and off, only so much performance related info can be shoe horned into a man page. You might check out these blogs: http://blogs.sun.com/roch/entry/people_ask_where_are_we See the direct I/O section http://blogs.sun.com/bobn/entry/what_s_new_in_solaris

[zfs-discuss] Interesting performance comparison

2009-10-15 Thread Cyril Plisko
Hello ! There is an interesting performance comparison of three popular operating systems [1], I thought it could be of interest for people hanging on this list. These guys used their tool FlexTk as a benchmark engine, which is not a benchmark tool per se, but still provides an interesting data.

Re: [zfs-discuss] primarycache and secondarycache properties on Solaris 10 u8

2009-10-15 Thread Torrey McMahon
Suggest you start with the man page http://docs.sun.com/app/docs/doc/819-2240/zfs-1m On 10/15/2009 4:19 PM, Javier Conde wrote: Hello, I've seen in the "what's new" of Solaris 10 update 8 just released that ZFS now includes the "primarycache" and "secondarycache" properties. Is this the "e

[zfs-discuss] primarycache and secondarycache properties on Solaris 10 u8

2009-10-15 Thread Javier Conde
Hello, I've seen in the "what's new" of Solaris 10 update 8 just released that ZFS now includes the "primarycache" and "secondarycache" properties. Is this the "equivalent" of the UFS directio? Does it have a similar behavior? I'm thinking about having a database on ZFS with this option, a

Re: [zfs-discuss] ZFS Swap Doesn't Survive Reboot - OSOL-124

2009-10-15 Thread Cindy Swearingen
Rodney, I added a second swap device to my OSOL 2009.06 laptop and my system running Nevada build 124. I can't reproduce this. Both swap devices appear after reboot. I would agree with Darren's comments that copies=2 is a better configuration for a one-disk pool. The fact that you can attach a

Re: [zfs-discuss] Stupid to have 2 disk raidz?

2009-10-15 Thread Brian Hechinger
On Thu, Oct 15, 2009 at 11:09:32AM -0600, Cindy Swearingen wrote: > Hi Greg, > > With two disks, I would start with a mirror. Then, you could add Additionally, with a two disk RAIDZ1 you are doing parity calculations for no good reason. I would recommend a mirror. -brian -- "Coding in C is lik

Re: [zfs-discuss] s10u8: lots of fixes, any commentary?

2009-10-15 Thread dick hoogendijk
On Fri, 16 Oct 2009 07:06:23 +1300 Ian Collins wrote: > + [ /zoneRoot/common = legacy ] ABSURT. I'm sure the zone has it's own mountpoint set. And now LU presumes all of a sudden a legacy mp? (It has even set it in /etc/vfstab in the new ABE). > cannot mount 'rpool/ROOT/10u8/zoneRoot/common-10u

Re: [zfs-discuss] s10u8: lots of fixes, any commentary?

2009-10-15 Thread Ian Collins
Enda O'Connor wrote: Jason King wrote: On Thu, Oct 15, 2009 at 2:57 AM, Ian Collins wrote: Dale Ghent wrote: So looking at the README for patch 14144[45]-09, there are ton of ZFS fixes and feature adds. The big features are already described in the update 8 release docs, but would anyone

Re: [zfs-discuss] Stupid to have 2 disk raidz?

2009-10-15 Thread Cindy Swearingen
Hi Greg, With two disks, I would start with a mirror. Then, you could add two more disks for expansion. You can also detach disks in a mirrored configuration. Or, you could attach another disk to create a 3-way mirror. With a RAIDZ configuration, you would not be able to expand the two disks to

[zfs-discuss] pool as root of zone

2009-10-15 Thread Hank Ratzesberger
Hi, I'm Hank and I'm recovering from a crash attempting to make a zfs pool the root/mountpoint of a zone install. I want to make the zone appear as a completely configurable zfs file system to the root user of the zone. Apparently that is not exactly the way things work. Any thoughts otherwis

[zfs-discuss] Stupid to have 2 disk raidz?

2009-10-15 Thread Gregory Gee
While playing with zfs at home on my DIY NAS, to try zfs and raidz, I setup 2 disks in a raidz pool. I started to think, in this scenario, does a 2 disk raidz actually provide any protection? I don't know the under parts of parity data in zfs. It didn't complain when I created it. To that, i

Re: [zfs-discuss] How to resize ZFS partion or add a new one?

2009-10-15 Thread A Darren Dunham
On Thu, Oct 15, 2009 at 05:31:42AM -0700, Julio P?rez wrote: > I am thinking in another possibility. Format the current NTFS > partition to ZFS and then I would be able to use this space like > another disk, to store the user home for example, or other > stuff. Would it be possible? Not easily. S

Re: [zfs-discuss] s10u8: lots of fixes, any commentary?

2009-10-15 Thread Jason King
On Thu, Oct 15, 2009 at 9:25 AM, Enda O'Connor wrote: > > > Jason King wrote: >> >> On Thu, Oct 15, 2009 at 2:57 AM, Ian Collins wrote: >>> >>> Dale Ghent wrote: So looking at the README for patch 14144[45]-09, there are ton of ZFS fixes and feature adds. The big features

Re: [zfs-discuss] Does ZFS work with SAN-attached devices?

2009-10-15 Thread Shawn Joy
Prior to this fix ZFS would panic the systems in order to avoid data corruption and loss of the zpool. Now the pool goes into a degraded or faulted state and one can "try" the zpool clear command to correct the issue. If this does not succeed a reboot is required. -- This message posted from

Re: [zfs-discuss] s10u8: lots of fixes, any commentary?

2009-10-15 Thread Enda O'Connor
Jason King wrote: On Thu, Oct 15, 2009 at 2:57 AM, Ian Collins wrote: Dale Ghent wrote: So looking at the README for patch 14144[45]-09, there are ton of ZFS fixes and feature adds. The big features are already described in the update 8 release docs, but would anyone in-the-know care to com

Re: [zfs-discuss] s10u8: lots of fixes, any commentary?

2009-10-15 Thread Jason King
On Thu, Oct 15, 2009 at 2:57 AM, Ian Collins wrote: > Dale Ghent wrote: >> >> So looking at the README for patch 14144[45]-09, there are ton of ZFS >> fixes and feature adds. >> >> The big features are already described in the update 8 release docs, but >> would anyone in-the-know care to comment

Re: [zfs-discuss] How to resize ZFS partion or add a new one?

2009-10-15 Thread Julio Pérez
I am afraid I won't able to do that because the ZFS partition is around 50 GB and the NTFS one is 20 GB... I am thinking in another possibility. Format the current NTFS partition to ZFS and then I would be able to use this space like another disk, to store the user home for example, or other st

Re: [zfs-discuss] How to resize ZFS partion or add a new one?

2009-10-15 Thread Mārcis Lielturks
2009/10/15 Darren J Moffat > Julio wrote: > >> Thanks to all for the replies. >> >> I got a lot of stuff configured and running fine, so I am not willing to >> reinstall for now :-). >> I also thought in Partition Magic but it seems not to manage ZFS. So, I >> think I will try to format the NTFS

[zfs-discuss] Can't remove pool--Dataset busy

2009-10-15 Thread Matthias Appel
Hi, I am running OpenSolaris 2009.06 snv_111b X86 and encountered some errors when removing a dataset.but her eis the whole story: I tried sharing a ZFS dataset via iscsi following the commands located on http://docs.sun.com/app/docs/doc/820-2313/gechv?l=de

Re: [zfs-discuss] How to resize ZFS partion or add a new one?

2009-10-15 Thread Darren J Moffat
Julio wrote: Thanks to all for the replies. I got a lot of stuff configured and running fine, so I am not willing to reinstall for now :-). I also thought in Partition Magic but it seems not to manage ZFS. So, I think I will try to format the NTFS partition to ZFS and then add it to the pool.

Re: [zfs-discuss] ZFS Swap Doesn't Survive Reboot - OSOL-124

2009-10-15 Thread Darren J Moffat
Rodney wrote: Thanks Cindy and Darren. I installed from the 2009.06 LiveCD and updated via the /dev repo to build 124 (and each in between over time). After a reboot zfs volinit runs. After that I can add the zfs swap manually. What's the next step to make it run at boot? Update /etc/vfstab

Re: [zfs-discuss] How to resize ZFS partion or add a new one?

2009-10-15 Thread Julio
Thanks to all for the replies. I got a lot of stuff configured and running fine, so I am not willing to reinstall for now :-). I also thought in Partition Magic but it seems not to manage ZFS. So, I think I will try to format the NTFS partition to ZFS and then add it to the pool. I will let you

Re: [zfs-discuss] ZFS Swap Doesn't Survive Reboot - OSOL-124

2009-10-15 Thread Rodney
Thanks Cindy and Darren. I installed from the 2009.06 LiveCD and updated via the /dev repo to build 124 (and each in between over time). After a reboot zfs volinit runs. After that I can add the zfs swap manually. What's the next step to make it run at boot? And if it's gone in future builds t

Re: [zfs-discuss] ZFS disk failure question

2009-10-15 Thread Jason Frank
See, I get overly literal when working on failed production storage (and yes, I do have backups...) I wasn't wanting to cancel the in-progress spare replacement. I had a completed spare replacement, and I wanted to make it "official". So, that didn't really fit my scenario either. I'm glad you

Re: [zfs-discuss] ZFS disk failure question

2009-10-15 Thread Jason Frank
Thank you, that did the trick. That's not terribly obvious from the man page though. The man page says it detaches the devices from a mirror, and I had a raidz2. Since I'm messing with production data, I decided I wasn't going to chance it when I was reading the man page. You might consider chan

Re: [zfs-discuss] ZFS Swap Doesn't Survive Reboot - OSOL-124

2009-10-15 Thread Darren J Moffat
Cindy Swearingen wrote: Hi Rodney, I've not seen this problem. Did you install using LiveCD or the automated installer? Here are some things to try/think about: 1. After a reboot with no swap or dump devices, run this command: # zfs volinit Note that volinit is gone in future builds. -- D

Re: [zfs-discuss] Strange problem with liveupgrade on zfs (10u7 and u8)

2009-10-15 Thread dick hoogendijk
On Wed, 14 Oct 2009 22:07:54 PDT Brian wrote: > ERROR: svc:/system/filesystem/minimal:default failed to mount /var You have found it yourself already. LU packages from update 8 create lines in /etc/vfstab for ZFS filesystems! Former LU packages never did! They left a good working vfstab alone. T

Re: [zfs-discuss] Strange problem with liveupgrade on zfs (10u7 and u8)

2009-10-15 Thread Enda O'Connor
Hi This is 6884728 which is a regression from 6837400. the workaround is as you done, remove the lines from vfstab Enda Brian wrote: I am have a strange problem with liveupgrade of ZFS boot environment. I found a similar discussion on the zones-discuss, but, this happens for me on installs wi

Re: [zfs-discuss] s10u8: lots of fixes, any commentary?

2009-10-15 Thread Ian Collins
Dale Ghent wrote: So looking at the README for patch 14144[45]-09, there are ton of ZFS fixes and feature adds. The big features are already described in the update 8 release docs, but would anyone in-the-know care to comment or point out any interesting CR fixes that might be substantial i

Re: [zfs-discuss] 2009.06 cifs/acl/windows-sid weirdness

2009-10-15 Thread Mārcis Lielturks
2009/10/11 HUGE | David Stahl > I'm not sure if this is a bug or something. I tried researching but have > come up dry due to hard to come up with right keywords. Anyway, we have > been using OSOL 2008.11 as a file server just fine using instructions very > similar to this > > http://blog.scottlo

Re: [zfs-discuss] Strange problem with liveupgrade on zfs (10u7 and u8)

2009-10-15 Thread Tomas Ögren
On 14 October, 2009 - Brian sent me these 4,3K bytes: > I am have a strange problem with liveupgrade of ZFS boot environment. > I found a similar discussion on the zones-discuss, but, this happens > for me on installs with and without zones, so I do not think it is > related to zones. I have been

[zfs-discuss] s10u8: lots of fixes, any commentary?

2009-10-15 Thread Dale Ghent
So looking at the README for patch 14144[45]-09, there are ton of ZFS fixes and feature adds. The big features are already described in the update 8 release docs, but would anyone in-the-know care to comment or point out any interesting CR fixes that might be substantial in the areas of