Re: [zfs-discuss] ZFS RAID-Z1 Degraded Array won't import

2010-04-13 Thread Richard Elling
On Apr 12, 2010, at 8:01 PM, Peter Tripp wrote: Hi folks, At home I run OpenSolaris x86 with a 4 drive Raid-Z (4x1TB) zpool and it's not in great shape. A fan stopped spinning and soon after the top disk failed (cause you know, heat rises). Naturally, OpenSolaris and ZFS didn't skip a

[zfs-discuss] select a qlogic fc HBA port to a qlc/qlt mode?

2010-04-13 Thread likaijun
hello,all,I want to add a dual ports FC HBA (qlogic 2462)to my opensolaris snv-133. My Purpose is one port is set to Initiator mode and another is target mode. #luxadm -e port /device/pci...@... connected /device/pci...0,1...@.. connected I konw it is the initiator mode. then I updadate_drv

Re: [zfs-discuss] snapshots taking too much space

2010-04-13 Thread Peter Tripp
Oops, I meant SHA256. My mind just maps SHA-SHA1, totally forgetting that ZFS actually uses SHA256 (a SHA-2 variant). More on ZFS dedup, checksums and collisions: http://blogs.sun.com/bonwick/entry/zfs_dedup http://www.c0t0d0s0.org/archives/6349-Perceived-Risk.html -- This message posted from

Re: [zfs-discuss] ZFS RAID-Z1 Degraded Array won't import

2010-04-13 Thread Peter Tripp
* Should I be able to import a degraded pool? In general, yes. But it is complaining about corrupted data, which can be due to another failure. Any suggestions on how to discover what that failure might be? * If not, shouldn't there be a warning when exporting a degraded pool? What should

[zfs-discuss] How to add gpxe,dhcpd to EON

2010-04-13 Thread TienDoan
Hi All, I'm researching boot diskless over iSCSI . I want to add gpxe and dhcpd to EON . Could you help me ? Thanks and Regards Tien Doan -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org

Re: [zfs-discuss] Fileserver help.

2010-04-13 Thread Thomas Maier-Komor
On 13.04.2010 10:12, Ian Collins wrote: On 04/13/10 05:47 PM, Daniel wrote: Hi all. Im pretty new to the whole OpenSolaris thing, i've been doing a bit of research but cant find anything on what i need. I am thinking of making myself a home file server running OpenSolaris with ZFS and

Re: [zfs-discuss] Secure delete?

2010-04-13 Thread Joerg Schilling
Bob Friesenhahn bfrie...@simple.dallas.tx.us wrote: On Sun, 11 Apr 2010, James Van Artsdalen wrote: OpenSolaris needs support for the TRIM command for SSDs. This command is issued to an SSD to indicate that a block is no longer in use and the SSD may erase it in preparation for future

Re: [zfs-discuss] Secure delete?

2010-04-13 Thread Joerg Schilling
Bob Friesenhahn bfrie...@simple.dallas.tx.us wrote: Yes of course. Properly built SSDs include considerable extra space to support wear leveling, and this same space may be used to store erased blocks. A block which is overwritten can simply be written to a block allocated from the extra

Re: [zfs-discuss] Secure delete?

2010-04-13 Thread Joerg Schilling
David Magda dma...@ee.ryerson.ca wrote: Given that ZFS probably would not have to go back to old blocks until it's reached the end of the disk, that should give the SSDs' firmware plenty of time to do block-remapping and background erasing--something that's done now anyway regardless of

Re: [zfs-discuss] Post crash - what to do - update

2010-04-13 Thread Bruno Sousa
Hi all, Since Google can be your friend and this good article at http://cuddletech.com/blog/pivot/entry.php?id=965, by Ben Rockwood, i have new informations, and hopefully someone might be able to see something interesting in this. So based on what i can understand a thread ff001f7f3c60

Re: [zfs-discuss] Fileserver help.

2010-04-13 Thread Edward Ned Harvey
From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- boun...@opensolaris.org] On Behalf Of Daniel Im pretty new to the whole OpenSolaris thing, i've been doing a bit of research but cant find anything on what i need. I am thinking of making myself a home file server running

[zfs-discuss] Snapshots and Data Loss

2010-04-13 Thread Tony MacDoodle
I was wondering if any data was lost while doing a snapshot on a running system? Does it flush everything to disk or would some stuff be lost? Thanks ___ zfs-discuss mailing list zfs-discuss@opensolaris.org

Re: [zfs-discuss] Snapshots and Data Loss

2010-04-13 Thread Erik Ableson
A snapshot is a picture of the storage at a point in time so everything depends on the applications using the storage. If you're running a db with lots of cache it's probably a good idea to stop the service or force a flush to disk before taking the snapshot to ensure the integrity of the

Re: [zfs-discuss] Secure delete?

2010-04-13 Thread James Van Artsdalen
If you're concerned about someone reading the charge level of a Flash cell to infer the value of the cell before being erased, then overwrite with random data twice before issuing TRIM (remapping in an SSD probably makes this ineffective). Most people needing a secure erase feature need it to

Re: [zfs-discuss] Create 1 pool from 3 exising pools in mirror configuration

2010-04-13 Thread Harry Putnam
Brandon High bh...@freaks.com writes: [...] Harry wrote: So having some data on rpool (besides the OS I mean) is not necessarily a bad thing then? Daniel C answered: Not at all; laptops would be screwed otherwise. Brandon H. responded: The pool will resilver faster if it's got less data

Re: [zfs-discuss] Fileserver help.

2010-04-13 Thread R.G. Keen
Offhand, I'd say EON http://sites.google.com/site/eonstorage/ This probably the best answer right now. It will be even better when they get a web administration GUI running. Some variant of freenas on freebsd is also possible. Opensolaris is missing a good opportunity to expand its user

Re: [zfs-discuss] Snapshots and Data Loss

2010-04-13 Thread Richard Elling
On Apr 13, 2010, at 5:22 AM, Tony MacDoodle wrote: I was wondering if any data was lost while doing a snapshot on a running system? ZFS will not lose data during a snapshot. Does it flush everything to disk or would some stuff be lost? Yes, all ZFS data will be committed to disk and then

[zfs-discuss] Suggestions about current ZFS setup

2010-04-13 Thread Christian Molson
Hi, (Main questions at bottom of post) I recently discovered the joys of ZFS. I have a home file server for backups+media, also hosting some virtual machine (over LAN). I was wondering if I could get some feedback as to whether I have set things up properly. Drives: 20 x 1TB (Mix of seagate

Re: [zfs-discuss] Secure delete?

2010-04-13 Thread Bob Friesenhahn
On Mon, 12 Apr 2010, Eric D. Mudama wrote: The advantage of TRIM, even in high end SSDs, is that it allows you to effectively have additional considerable extra space available to the device for garbage collection and wear management when not all sectors are in use on the device. For most

Re: [zfs-discuss] Secure delete?

2010-04-13 Thread Bob Friesenhahn
On Tue, 13 Apr 2010, Joerg Schilling wrote: I believe you make a mistake with this assumption. I see that you make some mistakes with your own assumptions. :-) - The SSD cannot know which blocks are currently not in use. It does know that blocks in its spare pool are not in use. -

Re: [zfs-discuss] Suggestions about current ZFS setup

2010-04-13 Thread Bob Friesenhahn
On Tue, 13 Apr 2010, Christian Molson wrote: Now I would like to add my 4 x 2TB drives, I get a warning message saying that: Pool uses 5-way raidz and new vdev uses 4-way raidz Do you think it would be safe to use the -f switch here? It should be safe but chances are that your new 2TB disks

[zfs-discuss] ZFS RAID-Z Degraded Array won't import

2010-04-13 Thread Peter Tripp
Hi folks, At home I run OpenSolaris x86 with a 4 drive Raid-Z (4x1TB) zpool and it's not in great shape. A fan stopped spinning and soon after the top disk failed (cause you know, heat rises). Naturally, OpenSolaris and ZFS didn't skip a beat; I didn't even notice it was dead until I saw the

Re: [zfs-discuss] How to Catch ZFS error with syslog ?

2010-04-13 Thread J James
Thanks for the clue. Still not successful, but some hope is there. -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

[zfs-discuss] b134 panic in ddt_sync_entry()

2010-04-13 Thread Cyril Plisko
Hello ! I've had a laptop that crashed a number of times during last 24 hours with this stack: panic[cpu0]/thread=ff0007ab0c60: assertion failed: ddt_object_update(ddt, ntype, nclass, dde, tx) == 0, file: ../../common/fs/zfs/ddt.c, line: 968 ff0007ab09a0 genunix:assfail+7e ()

Re: [zfs-discuss] How to Catch ZFS error with syslog ?

2010-04-13 Thread J James
I was finally able to generate syslog messages, thanks to the clue given by timh cat /usr/lib/fm/fmd/plugins/syslog-msgs.conf setprop console true setprop facility LOG_LOCAL0 -log as facility local0 setprop syslogd true svcadm restart fmd- restart FMD Note that

Re: [zfs-discuss] Tuning the ARC towards LRU

2010-04-13 Thread Peter Schuller
I realized I forgot to follow-up on this thread. Just to be clear, I have confirmed that I am seeing what to me is undesirable behavior even with the ARC being 1500 MB in size on an almost idle system ( 0.5 mb/sec read load, almost 0 write load). Observe these recursive searches through

Re: [zfs-discuss] Fileserver help.

2010-04-13 Thread Eric Andersen
Hi all. Im pretty new to the whole OpenSolaris thing, i've been doing a bit of research but cant find anything on what i need. I am thinking of making myself a home file server running OpenSolaris with ZFS and utilizing Raid/Z I was wondering if there is anything i can get that will

Re: [zfs-discuss] snapshots taking too much space

2010-04-13 Thread Paul Archer
Yesterday, Arne Jansen wrote: Paul Archer wrote: Because it's easier to change what I'm doing than what my DBA does, I decided that I would put rsync back in place, but locally. So I changed things so that the backups go to a staging FS, and then are rsync'ed over to another FS that I take

Re: [zfs-discuss] Why would zfs have too many errors when underlying raid array is fine?

2010-04-13 Thread Ragnar Sundblad
On 12 apr 2010, at 19.10, Kyle McDonald wrote: On 4/12/2010 9:10 AM, Willard Korfhage wrote: I upgraded to the latest firmware. When I rebooted the machine, the pool was back, with no errors. I was surprised. I will work with it more, and see if it stays good. I've done a scrub, so now

Re: [zfs-discuss] b134 panic in ddt_sync_entry()

2010-04-13 Thread Victor Latushkin
On Apr 13, 2010, at 9:52 PM, Cyril Plisko wrote: Hello ! I've had a laptop that crashed a number of times during last 24 hours with this stack: panic[cpu0]/thread=ff0007ab0c60: assertion failed: ddt_object_update(ddt, ntype, nclass, dde, tx) == 0, file: ../../common/fs/zfs/ddt.c,

Re: [zfs-discuss] Why would zfs have too many errors when underlying raid array is fine?

2010-04-13 Thread Willard Korfhage
These are all good reasons to switch back to letting ZFS handle it. I did put about 600GB of data on the pool as configured with Raid 6 on the card, verified the data, and scrubbed it a couple time in the process and there's no problems, so it appears that the firmware upgrade fixed my

Re: [zfs-discuss] Why would zfs have too many errors when underlying raid array is fine?

2010-04-13 Thread Victor Latushkin
On Apr 14, 2010, at 2:42 AM, Ragnar Sundblad wrote: On 12 apr 2010, at 19.10, Kyle McDonald wrote: On 4/12/2010 9:10 AM, Willard Korfhage wrote: I upgraded to the latest firmware. When I rebooted the machine, the pool was back, with no errors. I was surprised. I will work with it

Re: [zfs-discuss] Create 1 pool from 3 exising pools in mirror configuration

2010-04-13 Thread Brandon High
On Tue, Apr 13, 2010 at 7:03 AM, Harry Putnam rea...@newsguy.com wrote: Apparently you are not disagreeing with Daniel Cs' comment above so I guess you are talking about disk partitions here? I'm not disagreeing, but the use case for a server is different than for a laptop that can only hold

[zfs-discuss] problem in recovering back data solaris zfs

2010-04-13 Thread MstAsg
Hello, I have problem regarding zfs. After installing solaris 10 x86, it worked for a while, and then, some problem happened that there was problem in solaris and it could not get loaded! Even fail safe didn't resolve the problem. I put an open solaris CD and booted from it, I wrote the bellow