[zfs-discuss] Confused by compressratio

2008-04-11 Thread Stuart Anderson
I am confused by the numerical value of compressratio. I copied a compressed ZFS filesystem that is 38.5G in size (zfs list USED and REFER value) and reports a compressratio value of "2.52x" to an uncompressed ZFS filesystem and it expanded to 198G. So why is the compressratio 2.52 rather than 198/

Re: [zfs-discuss] OpenSolaris ZFS NAS Setup

2008-04-11 Thread Simon Breden
So for a general purpose fileserver using standard SATA connectors on the motherboard, with no drive status LEDs for each drive, using the info above from myxiplx, this faulty drive replacement routine should work in the event that a drive fails: (I have copy & pasted the example from myxiplx a

Re: [zfs-discuss] OpenSolaris ZFS NAS Setup

2008-04-11 Thread Simon Breden
To answer my own question, I might have found the answer: # cfgadm -al Ap_Id Type Receptacle Occupant Condition sata0/0::dsk/c1t0d0disk connectedconfigured ok sata0/1::dsk/c1t1d0disk connectedconfigured ok s

Re: [zfs-discuss] OpenSolaris ZFS NAS Setup

2008-04-11 Thread Simon Breden
Thanks Bob, that's good advice. So, before I open my case, I've currently got 3 SATA drives all the same model, so how do I know which one is plugged into which SATA connector on the motherboard? Is there a command I can issue which gives identifying info that includes the disk id AND the SATA c

Re: [zfs-discuss] zfs concatenation to mirror

2008-04-11 Thread Cindy . Swearingen
Jeff, No easy way exists to convert this configuration to a mirrored configuration currently. If you had two more disks, you could use zpool attach to create a two-way, two disk mirror. See the output below. A more complicated solution is to create two files that are the size of your existing di

Re: [zfs-discuss] iSCSI targets mapped to a VMWare ESX server

2008-04-11 Thread kristof
A colleague told me IET is not longer an ongoing project, so it's obsoleted. There's another new linux iscsi target: ISCSI-SCST is a forked (with all respects) version of IET with updates to work over SCST as well as with many improvements and bugfixes. see http://scst.sourceforge.net/ Thi

[zfs-discuss] zfs concatenation to mirror

2008-04-11 Thread Jeff Walker
Hi, Is it possible to convert a zfs pool from a concatenation of 2 disks to a 2 way mirror without backing up the data, re-creating the pool and restoring it. i.e diskA,diskB > mirror(diskA,diskB) Thanks, Jeff ___ zfs-discuss mailing list zfs-d

Re: [zfs-discuss] OpenSolaris ZFS NAS Setup

2008-04-11 Thread Bob Friesenhahn
On Fri, 11 Apr 2008, Simon Breden wrote: > Thanks myxiplx for the info on replacing a faulted drive. I think > the X4500 has LEDs to show drive statuses so you can see which > physical drive to pull and replace, but how does one know which > physical disk to pull out when you just have a standa

Re: [zfs-discuss] zfs with SAN / cluster problem

2008-04-11 Thread Richard Elling
Christophe Rolland wrote: > When moving pools, we use of course export/import or sczbt suncluster stuff. > Nevertheless, we dont want to use zfs as global FS with concurrent access, > just use it like svm or vxvm to declare "volumes" usable by cluster's nodes > (and used by only once at a time).

[zfs-discuss] How to replace root drive if ZFS data is on it?

2008-04-11 Thread Chi-Tseh Fu
Hi, Experts: A customer has X4500 and the boot drives mirrored (c5t0d0s0 and c5t4d0s0) by SVM, The ZFS uses the two other partitions on these two drives(c5t0d0s3 and c5t4d0s3). If we need to replace the disk drive c5t0d0, do we need to do anything on the ZFS (c5t0d0s3 and c5t4d0s3) first or ju

Re: [zfs-discuss] ZFS Administration

2008-04-11 Thread Chris Linton-Ford
> It would be nice to have a single place to define "keep the 6 most > recent hourly snaps, then a nightly for the next 7 days" > > Whether the snapshots are created/removed from within the ZFS stack, > or from a cron job that reads the config doesn't matter, but having > the configuration tied t

Re: [zfs-discuss] OpenSolaris ZFS NAS Setup

2008-04-11 Thread Simon Breden
Thanks myxiplx for the info on replacing a faulted drive. I think the X4500 has LEDs to show drive statuses so you can see which physical drive to pull and replace, but how does one know which physical disk to pull out when you just have a standard PC with drives directly plugged into on-motherb

Re: [zfs-discuss] iSCSI targets mapped to a VMWare ESX server

2008-04-11 Thread Mertol Ozyoney
That's excellent news for me. I think Sun should think about a solution as everything today is somewhat linked to VMWare. I am no expert about Linux and VMWare, can someone tell me step by step (assuming that I do not know anything which is kinda true) How to apply the path mentioned at http://c

Re: [zfs-discuss] OpenSolaris ZFS NAS Setup

2008-04-11 Thread Ross
I had similar problems replacing a drive myself, it's not intuitive exactly which ZFS commands you need to issue to recover from a drive failure. I think your problems stemmed from using -f. Generally if you have to use that, there's a step or option you've missed somewhere. However I'm not