[zfs-discuss] Cannot Mirror RPOOL, Can't Label Disk to SMI

2009-02-03 Thread Handojo
Dear ZFS experts, I have 2 SATA 500 GB Hard Drive on my Dual Core PC I have installed OpenSolaris 2008.11 using Live CD I got from Sun Tech Days in Singapore Now, using all the guidelines I got here at Indiana Discussion, I can't attach my second drive to rpool to make them mirror Initially

[zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Niels Van Hee
Hi, I redirected a zfs send stream to a file on a smbfs mount (Windows share): zfs send snapshot /mnt/win/snapshot.zfs When zfs receiving this file, the process aborts due to an 'invalid backup stream' error. zfs receive -nv gives a little bit more information: Assertion failed: !invalid

Re: [zfs-discuss] snapshot identity

2009-02-03 Thread Darren J Moffat
John Zolnowsky x69422/408-404-5064 wrote: The Validated Execution project is investigating how to utilize ZFS snapshots as the basis of a validated filesystem. Given that the blocks of the dataset form a Merkel tree of hashes, it seemed straightforward to validate the individual objects in

Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Niels Van Hee
Hi Remco, isn't the ssh example used in a context where you immediately receive the stream (on another solaris system)? What I'm trying to do is storing a snapshot on another system or media (tape, dvd,...) and restoring it later. I know zfs send and receive are not ideal as a backup

Re: [zfs-discuss] Cannot Mirror RPOOL, Can't Label Disk to SMI

2009-02-03 Thread Mark J Musante
Handojo wrote: hando...@opensolaris:~# zpool add rpool c4d0 Two problems: first, the command needed is 'zpool attach', because you're making a mirror. 'zpool add' is for extending stripes, and currently stripes are not supported as root pools. The second problem is that when the drive is

Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Remco Lengers
Niels, I do this all the time, to a USB connected external drive. And I have managed to restore a snapshot too :-) I don't see why you could mount an NFS mount from the service where you want to backup too. I wonder if windows does something bad to the file, is it larger then 2 Gb? ..Remco

Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Niels Van Hee
Hi Remco, the snapshots are indeed large files (just over 4gb). I haven't had problems copying tarballs over 2gb to this share however. I'll tar my home directory and try to copy that too to find out what happens :-) -- This message posted from opensolaris.org

Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Fajar A. Nugraha
On Tue, Feb 3, 2009 at 8:00 PM, Niels Van Hee nvan...@gmail.com wrote: Hi Remco, the snapshots are indeed large files (just over 4gb). Just wondering, why didn't you compress it first? something like zfs send | gzip backup.zfs.gz It should save lots of network bandwitdh. Plus, IF it does

Re: [zfs-discuss] ZFS core contributor nominations

2009-02-03 Thread Cindy . Swearingen
+1 for Roch as core contributor. Neelakanth Nadgir wrote: +1. I would like to nominate roch.bourbonn...@sun.com for his work on improving the performance of ZFS over the last few years. thanks, -neel On Feb 2, 2009, at 4:02 PM, Neil Perrin wrote: Looks reasonable +1 Neil. On

[zfs-discuss] Migrating to casesensitivity=mixed

2009-02-03 Thread Ross
Hi folks, I know it's not possible to change a pool to mixed sensitivity mode, but does anybody know if it's possible to do a send/receive from a pool with this set to off, to one where it's set to mixed? thanks, Ross -- This message posted from opensolaris.org

Re: [zfs-discuss] ZFS root mirror / moving disks to machine with different hostid

2009-02-03 Thread Marcus Reid
On Mon, Feb 02, 2009 at 08:41:13PM -0800, Frank Cusack wrote: On January 30, 2009 2:26:36 PM -0800 Marcus Reid mar...@blazingdot.com wrote: I am investigating using ZFS as a possible replacement for SVM for root disk mirroring. I am doing the exact same thing. I just updated to U6

Re: [zfs-discuss] ZFS core contributor nominations

2009-02-03 Thread Mark Shellenbaum
Neelakanth Nadgir wrote: +1. I would like to nominate roch.bourbonn...@sun.com for his work on improving the performance of ZFS over the last few years. thanks, -neel +1 on Roch being a core contributor. On Feb 2, 2009, at 4:02 PM, Neil Perrin wrote: Looks reasonable +1 Neil.

Re: [zfs-discuss] ZFS core contributor nominations

2009-02-03 Thread David Collier-Brown
+1 utterly! Mark Shellenbaum wrote: Neelakanth Nadgir wrote: +1. I would like to nominate roch.bourbonn...@sun.com for his work on improving the performance of ZFS over the last few years. thanks, -neel +1 on Roch being a core contributor. On Feb 2, 2009, at 4:02 PM, Neil Perrin

Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Niels Van Hee
Hi, Just wondering, why didn't you compress it first? I'm just trying out the basic zfs features on my home pc. I don't pay a lot of attentention to network bandwidth or compression at the moment.. And afaik, there's no issue with large files on OpenSolaris, I can copy a tarball of my home

Re: [zfs-discuss] Add SSD drive as L2ARC(?) cache to existing ZFS raid?

2009-02-03 Thread Orvar Korvar
So are there no guide lines how to add a SSD disk as a home user? Which is the best SSD disk to add? What percentage improvements are typical? Or, will a home user not benefit from adding a SSD drive? It is only enterprise SSD drives that works, together with some esoteric software from

Re: [zfs-discuss] Zfs and permissions

2009-02-03 Thread Matt Snow
Hi Matthew, I've seen similar behavior with X4500s on both update 4 and update 5. In both cases it was a failed disk. In both our cases any command that accessed a disk in the zpool triggered a hang I started with dmesg, then /var/adm/messages. In some cases I was able to run `hd` and see where

Re: [zfs-discuss] Migrating to casesensitivity=mixed

2009-02-03 Thread David Dyer-Bennet
On Tue, February 3, 2009 09:59, Ross wrote: Hi folks, I know it's not possible to change a pool to mixed sensitivity mode, but does anybody know if it's possible to do a send/receive from a pool with this set to off, to one where it's set to mixed? Thanks for reminding me. Since I'm going

Re: [zfs-discuss] Zfs and permissions

2009-02-03 Thread Matthew Arguin
Thanks for the reply Matt. After some more digging around, here is what I found. I have about 1/2 dozen various rsync jobs that back up various data from various locations. ps-ef | grep rsync showed each of these jobs listed many times, so for some reason they were not finishing. I think

Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Bob Friesenhahn
On Tue, 3 Feb 2009, Niels Van Hee wrote: the snapshots are indeed large files (just over 4gb). I haven't had problems copying tarballs over 2gb to this share however. I'll tar my home directory and try to copy that too to find out what happens Make sure that the unix shell you are using

Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Bob Friesenhahn
On Tue, 3 Feb 2009, Fajar A. Nugraha wrote: Just wondering, why didn't you compress it first? something like zfs send | gzip backup.zfs.gz It should save lots of network bandwitdh. Plus, IF it does have something to do with file too large, compressing should help as a workaround. The

Re: [zfs-discuss] Add SSD drive as L2ARC(?) cache to existing ZFS raid?

2009-02-03 Thread Greg Mason
Orvar, With my testing, i've seen a 5x improvement with small file creation when working specifically with NFS. This is after I added an SSD for the ZIL. I recommend Richard Elling's zilstat (he posted links earlier). It'll let you see if a dedicated device for the ZIL will help your specific

Re: [zfs-discuss] Zfs and permissions

2009-02-03 Thread Matt Snow
Hd is a utility for the X4500/x4540 systems that shows you a bit more than cfgadm. Actually a lot more. :) http://docs.sun.com/source/819-4363-11/hd_util10.html I use `hd -R` to view the S.M.A.R.T. Values to determine of there is a bad disk. Run `hd -r` to view the long format and see the

Re: [zfs-discuss] Add SSD drive as L2ARC(?) cache to existing ZFS raid?

2009-02-03 Thread Richard Elling
Orvar Korvar wrote: So are there no guide lines how to add a SSD disk as a home user? I'm not sure any guidelines are needed beyond that which is already documented in the zpool man page or the ZFS Administration Guide. What do you believe is missing from those docs? Which is the best SSD

Re: [zfs-discuss] Why does a file on a ZFS change sizes?

2009-02-03 Thread Mattias Pantzare
On Tue, Feb 3, 2009 at 20:55, SQA sqa...@gmail.com wrote: I set up a ZFS system on a Linux x86 box. [b] zpool history History for 'raidpool': 2009-01-15.17:12:48 zpool create -f raidpool raidz1 c4t1d0 c4t2d0 c4t3d0 c4t4d0 c4t5d0 2009-01-15.17:15:54 zfs create -o mountpoint=/vol01 -o

Re: [zfs-discuss] Add SSD drive as L2ARC(?) cache to existing ZFS raid?

2009-02-03 Thread Nicholas Lee
Is it possible for someone to put up a wiki page somewhere with the various SSD, ZIL, L2ARC options with Pros, Cons and Benchmarks. Especially with notes like the below. Given this is a key area of interest for zfs at the moment, seems like it would be a useful resource. On Wed, Feb 4, 2009 at

Re: [zfs-discuss] snapshot identity

2009-02-03 Thread Jeff Bonwick
The Validated Execution project is investigating how to utilize ZFS snapshots as the basis of a validated filesystem. Given that the blocks of the dataset form a Merkel tree of hashes, it seemed straightforward to validate the individual objects in the snapshot and then sign the hash of the

Re: [zfs-discuss] Add SSD drive as L2ARC(?) cache to existing ZFS raid?

2009-02-03 Thread David Dyer-Bennet
On Tue, February 3, 2009 15:26, Richard Elling wrote: Orvar Korvar wrote: Which is the best SSD disk to add? The one that somebody else pays for :-) Does the access pattern for say the ZIL tickle the stuttering bug in the JMicron-controller multi-level-cell SSDs? That is, in all the cheap

[zfs-discuss] Why does a file on a ZFS change sizes?

2009-02-03 Thread SQA
I set up a ZFS system on a Linux x86 box. [b] zpool history History for 'raidpool': 2009-01-15.17:12:48 zpool create -f raidpool raidz1 c4t1d0 c4t2d0 c4t3d0 c4t4d0 c4t5d0 2009-01-15.17:15:54 zfs create -o mountpoint=/vol01 -o sharenfs=on -o canmount=on raidpool/vol01[/b] I did not make the

Re: [zfs-discuss] Replacing HDD in x4500

2009-02-03 Thread Jorgen Lundman
I've been told we got a BugID: 3-way deadlock happens in ufs filesystem on zvol when writing ufs log but I can not view the BugID yet (presumably due to my accounts weak credentials) Perhaps it isn't something we do wrong, that would be a nice change. Lund Jorgen Lundman wrote: I assume

Re: [zfs-discuss] Why does a file on a ZFS change sizes?

2009-02-03 Thread SQA
Mattias, Sorry for the bad cut-and-paste in my previous post. It indeed is 3 blocks, not 1. I did what you said but the ZFS system added 2 extra blocks, not 1. The file was 608 bytes in size, which should be 2 blocks. With the metadata info, it should have used up 3 blocks, not 4. It's

[zfs-discuss] Adding a SDcard as zfs cache (L2ARC?) on a laptop?

2009-02-03 Thread Jean-Paul Rivet
I've been searching without success if this has been done or even discussed previously. Would it be possible now or in the future to use an SD Card on a laptop as a cache for ZFS? I've been trying to do this with OpenSolaris 1108 on a Dell XPS M1530 laptop. The SD Card is presented as

Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Fajar A. Nugraha
On Wed, Feb 4, 2009 at 1:28 AM, Bob Friesenhahn bfrie...@simple.dallas.tx.us wrote: On Tue, 3 Feb 2009, Fajar A. Nugraha wrote: Just wondering, why didn't you compress it first? something like zfs send | gzip backup.zfs.gz The 'lzop' compressor is much better for this since it is *much*

Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Fajar A. Nugraha
On Wed, Feb 4, 2009 at 10:41 AM, Fajar A. Nugraha fa...@fajar.net wrote: Just wondering, why didn't you compress it first? something like zfs send | gzip backup.zfs.gz The 'lzop' compressor is much better for this since it is *much* faster. Sure, when enabling compression on zfs fs. I

Re: [zfs-discuss] Adding a SDcard as zfs cache (L2ARC?) on a laptop?

2009-02-03 Thread Fajar A. Nugraha
On Wed, Feb 4, 2009 at 9:31 AM, Jean-Paul Rivet jri...@bigpond.net.au wrote: I've been searching without success if this has been done or even discussed previously. Would it be possible now or in the future to use an SD Card on a laptop as a cache for ZFS? When using 'pfexec zpool add

Re: [zfs-discuss] Adding a SDcard as zfs cache (L2ARC?) on a laptop?

2009-02-03 Thread Jean-Paul Rivet
From that error message I believe the problem is not on laptop or SD Card. It's because you're trying to add cache to root pool. Try adding it to another pool. It should work. Thanks for the response. Being a laptop I don't have other pools to choose from - just the rpool:) So I guess

Re: [zfs-discuss] Time taken Backup using ZFS Send Receive

2009-02-03 Thread Kok Fong Lau
Thanks. I'll try to upgrade to b105. That'll only happen probably in a few months time. The zfs files contains Oracle and oracle tablespace files. When I did the send command Oracle was shutdown. I just did a receive as well recently and the 20gig file only took about 15 plus mins to load

Re: [zfs-discuss] Adding a SDcard as zfs cache (L2ARC?) on a laptop?

2009-02-03 Thread Andrew Gabriel
Jean-Paul Rivet wrote: I've been searching without success if this has been done or even discussed previously. Would it be possible now or in the future to use an SD Card on a laptop as a cache for ZFS? I've been trying to do this with OpenSolaris 1108 on a Dell XPS M1530 laptop. The SD