Re: [zfs-discuss] ZFS hangs/freezes after disk failure,

2008-08-24 Thread Justin
Howdy Matt. Just to make it absolutely clear, I appreciate your response. I would be quite lost if it weren't for all of the input. > Unplugging a drive (actually pulling the cable out) does not simulate a > drive failure, it simulates a drive getting unplugged, which is > something the hardwar

Re: [zfs-discuss] ZFS hangs/freezes after disk failure,

2008-08-24 Thread Peter Bortas
On Mon, Aug 25, 2008 at 5:19 AM, John Sonnenschein <[EMAIL PROTECTED]> wrote: > James isn't being a jerk because he hates your or anything... > > Look, yanking the drives like that can seriously damage the drives or your > motherboard. It can, but it's not very likely to. > Solaris doesn't let y

Re: [zfs-discuss] Possible to do a stripe vdev?

2008-08-24 Thread Heikki Suonsivu on list forwarder
Richard Elling wrote: > Heikki Suonsivu on list forwarder wrote: >> Kyle McDonald wrote: >> >>> Chris Cosby wrote: >>> About the best I can see: zpool create dirtypool raidz 250a 250b 320a raidz 320b 400a 400b raidz 500a 500b 750a And you have to do them i

Re: [zfs-discuss] Possible to do a stripe vdev?

2008-08-24 Thread Richard Elling
[clarification below...] Richard Elling wrote: > Heikki Suonsivu on list forwarder wrote: > >> Kyle McDonald wrote: >> >> >>> Chris Cosby wrote: >>> >>> About the best I can see: zpool create dirtypool raidz 250a 250b 320a raidz 320b 400a 400b raidz 500a

Re: [zfs-discuss] Possible to do a stripe vdev?

2008-08-24 Thread Richard Elling
Heikki Suonsivu on list forwarder wrote: > Kyle McDonald wrote: > >> Chris Cosby wrote: >> >>> About the best I can see: >>> >>> zpool create dirtypool raidz 250a 250b 320a raidz 320b 400a 400b raidz >>> 500a 500b 750a >>> >>> And you have to do them in that order. The zpool will create us

Re: [zfs-discuss] ZFS hangs/freezes after disk failure,

2008-08-24 Thread Justin
aye mate, I had the exact same problem, but where i work, we pay some pretty seriosu dollars for a direct 24/7 line to some of sun's engineers, so i decided to call them up. after spending some time with tech support, i never really got the thing resolved, and i instead ended up going back to de

Re: [zfs-discuss] Can ZFS delete snapshots automatically?

2008-08-24 Thread Igor Velkov
there http://pastebin.ca/1069352 is one homebrew script. It purge snapshots by age and name mask. This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discus

Re: [zfs-discuss] ZFS hangs/freezes after disk failure,

2008-08-24 Thread John Sonnenschein
James isn't being a jerk because he hates your or anything... Look, yanking the drives like that can seriously damage the drives or your motherboard. Solaris doesn't let you do it and assumes that something's gone seriously wrong if you try it. That Linux ignores the behavior and lets you do it

Re: [zfs-discuss] ZFS hangs/freezes after disk failure,

2008-08-24 Thread Matt Harrison
Todd H. Poole wrote: >> But you're not attempting hotswap, you're doing hot plug > > Do you mean hot UNplug? Because I'm not trying to get this thing to recognize > any new disks without a restart... Honest. I'm just trying to prevent the > machine from freezing up when a drive fails. I have

Re: [zfs-discuss] ZFS hangs/freezes after disk failure,

2008-08-24 Thread Todd H. Poole
> But you're not attempting hotswap, you're doing hot plug Do you mean hot UNplug? Because I'm not trying to get this thing to recognize any new disks without a restart... Honest. I'm just trying to prevent the machine from freezing up when a drive fails. I have no problem restarting the ma

[zfs-discuss] about variable block size

2008-08-24 Thread Robert
Hello list, I have known that zfs has an excellent feature--adjusting its block size according to the size of files automatically. Some materials say that this is implemented by a function of the size of the file. However, I can not find any further description of this key function. Do I have to

Re: [zfs-discuss] Can ZFS delete snapshots automatically?

2008-08-24 Thread Robert
Thanks for you two's nice answers! This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Re: [zfs-discuss] ZFS hangs/freezes after disk failure,

2008-08-24 Thread James C. McPherson
Todd H. Poole wrote: > Hmmm. Alright, but supporting hot-swap isn't the issue, is it? I mean, > like I said in my response to myxiplx, if I have to bring down the > machine in order to replace a faulty drive, that's perfectly acceptable - > I can do that whenever it's most convenient for me. > > W

Re: [zfs-discuss] ZFS hangs/freezes after disk failure,

2008-08-24 Thread James C. McPherson
Tim wrote: > I'm pretty sure pci-ide doesn't support hot-swap. I believe you need ahci. You're correct, it doesn't. Furthermore, to the best of my knowledge, it won't ever support hotswap. James C. McPherson -- Senior Kernel Software Engineer, Solaris Sun Microsystems http://blogs.sun.com/jmcp

Re: [zfs-discuss] ZFS hangs/freezes after disk failure,

2008-08-24 Thread Todd H. Poole
Hmmm. Alright, but supporting hot-swap isn't the issue, is it? I mean, like I said in my response to myxiplx, if I have to bring down the machine in order to replace a faulty drive, that's perfectly acceptable - I can do that whenever it's most convenient for me. What is _not_ perfectly accept

[zfs-discuss] [Q] Am I misunderstanding snapshotting and zfs send/recv or is it really this complicated?

2008-08-24 Thread Maurice Volaski
I've seen posted here snippets of regularly running zfs send/recv and here's one below: >So for example, each night you could do: ># zfs snapshot -r tank/[EMAIL PROTECTED] ># zfs send -R tank/[EMAIL PROTECTED] | ssh zfs recv -d backuptank ># zfs destroy -r tank/[EMAIL PROTECTED] ># zfs rename -

Re: [zfs-discuss] Can ZFS delete snapshots automatically?

2008-08-24 Thread Nils Goroll
zfs itself can't, but Tim Foster has written a nice script, integrated into SMF, which can be used to automatically create and delete snapshots at various intervals. see http://blogs.sun.com/timf/entry/zfs_automatic_snapshots_0_10 for the latest release and http://opensolaris.org/jive/thread.js

Re: [zfs-discuss] Can ZFS delete snapshots automatically?

2008-08-24 Thread David Magda
On Aug 24, 2008, at 12:16, Robert wrote: > Since it is said that ZFS can offer unlimited snapshots, I am just > wondering that if there are too many snapshots which consumes too > much space, how can ZFS deal with this? You tell ZFS to delete the unneeded ones, or you hit 100% disk usage a

[zfs-discuss] Can ZFS delete snapshots automatically?

2008-08-24 Thread Robert
Hi all, Since it is said that ZFS can offer unlimited snapshots, I am just wondering that if there are too many snapshots which consumes too much space, how can ZFS deal with this? This message posted from opensolaris.org ___ zfs-discuss mailing lis

Re: [zfs-discuss] ZFS hangs/freezes after disk failure,

2008-08-24 Thread Tim
I'm pretty sure pci-ide doesn't support hot-swap. I believe you need ahci. On 8/24/08, Todd H. Poole <[EMAIL PROTECTED]> wrote: > Ah, yes - all four hard drives are connected to the motherboard's onboard > SATA II ports. There is one additional drive I have neglected to mention > thus far (th

Re: [zfs-discuss] ZFS hangs/freezes after disk failure,

2008-08-24 Thread James C. McPherson
Todd H. Poole wrote: > Hmm... I'm leaning away a bit from the hardware, but just in case you've > got an idea, the machine is as follows: > > CPU: AMD Athlon X2 4850e 2.5GHz Socket AM2 45W Dual-Core Processor Model > ADH4850DOBOX > (http://www.newegg.com/Product/Product.aspx?Item=N82E16819103255)

Re: [zfs-discuss] Redundancy with a stripe vdev and copies=2

2008-08-24 Thread Heikki Suonsivu on list forwarder
Nils Goroll wrote: > Hi, > > Heikki Suonsivu on list forwarder wrote: >> - So, the QUESTION is: Is the marketing speak totally bogus, or is >> there missing code/bug/etc which prevents getting pool with a lost >> disk on-line (looping back to first question). > > Besides those practical aspect

Re: [zfs-discuss] ZFS hangs/freezes after disk failure, resumes when disk is replaced

2008-08-24 Thread Todd H. Poole
Hmm... You know, that's a good question. I'm not sure if those SATA II ports support hot swap or not. The motherboard is fairly new, but taking a look at the specifications provided by Gigabyte (http://www.gigabyte.com.tw/Products/Motherboard/Products_Spec.aspx?ProductID=2874) doesn't seem to y

Re: [zfs-discuss] ZFS hangs/freezes after disk failure, resumes when disk is replaced

2008-08-24 Thread Ross
PS. Does your system definitely support SATA hot swap? Could you for example test it under windows to see if it runs fine there? I suspect this is a Solaris driver problem, but it would be good to have confirmation that the hardware handles this fine. This message posted from opensolaris.o

Re: [zfs-discuss] ZFS hangs/freezes after disk failure,

2008-08-24 Thread Todd H. Poole
Ah, yes - all four hard drives are connected to the motherboard's onboard SATA II ports. There is one additional drive I have neglected to mention thus far (the boot drive) but that is connected via the motherboard's IDE channel, and has remained untouched since the install... I don't really con

Re: [zfs-discuss] ZFS hangs/freezes after disk failure, resumes when disk is replaced

2008-08-24 Thread Ross
You're seeing exactly the same behaviour I found on my server, using a Supermicro AOC-SAT2-MV8 SATA controller. It's detailed on the forums under the topics "Supermicro AOC-SAT2-MV8 hang when drive removed", but unfortunately that topic split into 3 or 4 pieces so it's a pain to find. I also r

Re: [zfs-discuss] Interesting screwup. suggestions?

2008-08-24 Thread Karl Pielorz
--On 23 August 2008 17:01 -0700 hunter morgan <[EMAIL PROTECTED]> wrote: > ok so i have 3 500gb hard drives in my freebsd fileserver. they are set > up in a pool as a raidz1 of 3 and another raidz1 of 2. like this: I'm guessing that's a typo - and you mean '5' hard drives, not 3 ;) > pool0