[zfs-discuss] Hashing files rapidly on ZFS

2010-05-11 Thread Bertrand Augereau
Hello everybody, is there a way to compute very quickly some hash of a file in a zfs? As I understand it, everything is signed in the filesystem, so I'm wondering if I can avoid reading whole files with md5sum just to get a unique hash. Seems very redundant to me :) Bottom line is I want to

Re: [zfs-discuss] Hashing files rapidly on ZFS

2010-05-11 Thread Darren J Moffat
On 11/05/2010 11:14, Bertrand Augereau wrote: Hello everybody, is there a way to compute very quickly some hash of a file in a zfs? As I understand it, everything is signed in the filesystem, so I'm wondering if I can avoid reading whole files with md5sum just to get a unique hash. Seems

Re: [zfs-discuss] Hashing files rapidly on ZFS

2010-05-11 Thread Bertrand Augereau
Is there a O(nb_blocks_for_the_file) solution, then? I know O(nb_blocks_for_the_file) == O(nb_bytes_in_the_file), from Mr. Landau's POV, but I'm quite interested in a good constant factor. -- This message posted from opensolaris.org ___ zfs-discuss

Re: [zfs-discuss] Opteron 6100? Does it work with opensolaris?

2010-05-11 Thread Roy Sigurd Karlsbakk
- Thomas Burgess wonsl...@gmail.com skrev: I was looking at building a new ZFS based server for my media files and i was wondering if this cpu was supported...i googled and i coudlnt' find much info about it. I'm specificially looking at this motherboard:

Re: [zfs-discuss] Plugging in a hard drive after Solaris has booted up?

2010-05-11 Thread Giovanni Mazzeo
giova...@server:~# cfgadm Ap_Id Type Receptacle Occupant Condition sata1/0disk connectedunconfigured unknown sata1/1::dsk/c8t1d0disk connectedconfigured ok sata1/2sata-port

[zfs-discuss] Storage 7410 Flush ARC for filebench

2010-05-11 Thread Johnson Thomas
Hi Experts, Need assistance on this Customer has this query If there is a way to flush ARC for filebench runs without rebooting the system He is running firmware 2010.02.09.0.2,1-1.13 on the NAS 7410 Please cc me also in the reply regards --

Re: [zfs-discuss] ZFS and Comstar iSCSI BLK size

2010-05-11 Thread Geoff Nordli
-Original Message- From: Brandon High [mailto:bh...@freaks.com] Sent: Monday, May 10, 2010 5:56 PM On Mon, May 10, 2010 at 3:53 PM, Geoff Nordli geo...@gnaa.net wrote: Doesn't this alignment have more to do with aligning writes to the stripe/segment size of a traditional storage

Re: [zfs-discuss] Storage 7410 Flush ARC for filebench

2010-05-11 Thread A Darren Dunham
On Sun, May 09, 2010 at 10:55:08PM +0530, Johnson Thomas wrote: Customer has this query If there is a way to flush ARC for filebench runs without rebooting the system He is running firmware 2010.02.09.0.2,1-1.13 on the NAS 7410 In the pre-ZFS world I would have suggested unmounting the

[zfs-discuss] Broadening of ZFS open source license

2010-05-11 Thread Hillel Lubman
In the article about MeeGo: http://lwn.net/SubscriberLink/387196/103bbafc9266fd0d/ it is stated, that Oracle (together with RedHat) contributes a bulk part of BTRFS development. Given that ZFS and BTRFS both share many similar goals, wouldn't it be reasonable for Oracle to license ZFS under

Re: [zfs-discuss] Broadening of ZFS open source license

2010-05-11 Thread Henrik Johansson
On May 11, 2010, at 10:29 PM, Hillel Lubman wrote: In the article about MeeGo: http://lwn.net/SubscriberLink/387196/103bbafc9266fd0d/ it is stated, that Oracle (together with RedHat) contributes a bulk part of BTRFS development. Given that ZFS and BTRFS both share many similar goals,

Re: [zfs-discuss] Mirroring USB Drive with Laptop for Backup purposes

2010-05-11 Thread Brandon High
On Mon, May 10, 2010 at 11:04 AM, Miles Nordin car...@ivy.net wrote: bh == Brandon High bh...@freaks.com writes:    bh The drive should be on the same USB port because the device    bh path is saved in the zpool.cache. If you removed the I thought it was supposed to go by devid. zpool.cache

Re: [zfs-discuss] Opteron 6100? Does it work with opensolaris?

2010-05-11 Thread Brandon High
On Tue, May 11, 2010 at 5:29 AM, Thomas Burgess wonsl...@gmail.com wrote: I'm specificially looking at this motherboard: http://www.newegg.com/Product/Product.aspx?Item=N82E16813182230 I'd be more concerned that the motherboard and it's attached peripherals are unsupported than the processor.

Re: [zfs-discuss] Opteron 6100? Does it work with opensolaris?

2010-05-11 Thread Michael DeMan
I agree on the motherboard and peripheral chipset issue. This, and the last generation AMD quad/six core motherboards all seem to use the AMD SP56x0/SP5100 chipset, which I can't find much information about support on for either OpenSolaris or FreeBSD. Another issue is the LSI SAS2008 chipset

Re: [zfs-discuss] Opteron 6100? Does it work with opensolaris?

2010-05-11 Thread James C. McPherson
On 12/05/10 10:32 AM, Michael DeMan wrote: I agree on the motherboard and peripheral chipset issue. This, and the last generation AMD quad/six core motherboards all seem to use the AMD SP56x0/SP5100 chipset, which I can't find much information about support on for either OpenSolaris or

Re: [zfs-discuss] Opteron 6100? Does it work with opensolaris?

2010-05-11 Thread Thomas Burgess
the onboard sata is a secondary issue. If i need to, i'll boot from the oboard usb slots. I have 2 LSI 1068e based sas controllers which i will be using. On Tue, May 11, 2010 at 8:40 PM, James C. McPherson j...@opensolaris.orgwrote: On 12/05/10 10:32 AM, Michael DeMan wrote: I agree on the

[zfs-discuss] Unexpected rpool mirror behavior found during testing

2010-05-11 Thread Terence Tan
I was having quite a bit of problems getting the rpool mirroring to work as expected. The issue I have is not about the how to create mirror rpool. I got sufficient information from the various good people in the internet to do this correctly. I am not sure the specific I have here is related

Re: [zfs-discuss] Opteron 6100? Does it work with opensolaris?

2010-05-11 Thread Thomas Burgess
Well i went ahead and ordered the board. I will report back soon with the results..i'm pretty excited. These CPU's seem great on paper. On Tue, May 11, 2010 at 9:02 PM, Thomas Burgess wonsl...@gmail.com wrote: the onboard sata is a secondary issue. If i need to, i'll boot from the oboard

Re: [zfs-discuss] Broadening of ZFS open source license

2010-05-11 Thread Edward Ned Harvey
From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- boun...@opensolaris.org] On Behalf Of Hillel Lubman Oracle (together with RedHat) contributes a bulk part of BTRFS development. Given that ZFS and BTRFS both share many similar goals, wouldn't it be reasonable for Oracle to

Re: [zfs-discuss] Mirroring USB Drive with Laptop for Backup purposes

2010-05-11 Thread Richard Elling
On May 11, 2010, at 3:26 PM, Brandon High wrote: On Mon, May 10, 2010 at 11:04 AM, Miles Nordin car...@ivy.net wrote: bh == Brandon High bh...@freaks.com writes: bh The drive should be on the same USB port because the device bh path is saved in the zpool.cache. If you removed the I

Re: [zfs-discuss] Broadening of ZFS open source license

2010-05-11 Thread Edward Ned Harvey
From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- boun...@opensolaris.org] On Behalf Of Edward Ned Harvey I'm no expert in this subject, but I do feel confident in my knowledge that the license conflict is just one of many obstacles to prevent ZFS from working nicely in Linux.

Re: [zfs-discuss] Mirroring USB Drive with Laptop for Backup purposes

2010-05-11 Thread Brandon High
On Tue, May 11, 2010 at 8:17 PM, Richard Elling richard.ell...@gmail.com wrote: boot single user and mv it (just like we've done for fstab/vfstab for the past 30+ years :-) It would be nice to have a grub menu item that ignores the cache, so if you know you've removed a USB drive, you don't

Re: [zfs-discuss] Mirroring USB Drive with Laptop for Backup purposes

2010-05-11 Thread Richard Elling
On May 11, 2010, at 8:31 PM, Brandon High wrote: On Tue, May 11, 2010 at 8:17 PM, Richard Elling richard.ell...@gmail.com wrote: boot single user and mv it (just like we've done for fstab/vfstab for the past 30+ years :-) It would be nice to have a grub menu item that ignores the cache, so

[zfs-discuss] ZFS High Availability

2010-05-11 Thread schickb
I'm looking for input on building an HA configuration for ZFS. I've read the FAQ and understand that the standard approach is to have a standby system with access to a shared pool that is imported during a failover. The problem is that we use ZFS for a specialized purpose that results in 10's

Re: [zfs-discuss] Opteron 6100? Does it work with opensolaris?

2010-05-11 Thread Geoff Nordli
On Behalf Of James C. McPherson Sent: Tuesday, May 11, 2010 5:41 PM On 12/05/10 10:32 AM, Michael DeMan wrote: I agree on the motherboard and peripheral chipset issue. This, and the last generation AMD quad/six core motherboards all seem to use the AMD SP56x0/SP5100 chipset, which I can't

Re: [zfs-discuss] Unexpected rpool mirror behavior found during testing

2010-05-11 Thread Ian Collins
On 05/12/10 02:10 PM, Terence Tan wrote: I was having quite a bit of problems getting the rpool mirroring to work as expected. This appears to be a known issue, see the thread b134 - Mirrored rpool won't boot unless both mirrors are present and