[zfs-discuss] lofiadm -d keeps a lock on file in an nbmand-mounted zfs

2008-12-29 Thread Kevin Sze
Hi, Has anyone seen the following problem? After "lofiadm -d" removes an association, the file is still locked and cannot be moved or deleted if the file resides in a ZFS mounted with nbmand=on. There are two ways to remove the lock. (1) remount the zfs by the unmount+mount; the lock is remov

Re: [zfs-discuss] Using zfs mirror as a simple backup mechanism for time-slider.

2008-12-29 Thread Nicolas Williams
On Sat, Dec 27, 2008 at 02:29:58PM -0800, Ross wrote: > All of which sound like good reasons to use send/receive and a 2nd zfs > pool instead of mirroring. Yes. > Send/receive has the advantage that the receiving filesystem is > guaranteed to be in a stable state. How would you go about recoveri

Re: [zfs-discuss] ZFS capable GRUB install from within Linux?

2008-12-29 Thread David Abrahams
on Tue Nov 11 2008, Mario Goebbels wrote: > Is it possible to install a GRUB that can boot a ZFS root, but installing it > from > within Linux? > > I was planning on getting a new unmanaged dedicated server, which however > only comes > with Linux preinstalled. The thing has a software RAID1,

Re: [zfs-discuss] separate home "partition"?

2008-12-29 Thread scott
at the risk of venturing off topic: that looks like a good revisioning scheme. opensolaris creates a new (default) boot environment during the update process, which seems like a very cool feature. seems like. when i update my 2008.11 install, nwam breaks, apparently a known bug (the workaround

[zfs-discuss] Noob: Best way to replace a disk when you're out of internal connectors?

2008-12-29 Thread Larry Hastings
Hope I'm posting this in the right place. I've got a RAIDZ2 volume made of 14 SATA 1TB drives. The box they're in is absolutely packed full; I know of no way to add any additional drives, or internal SATA connectors. I have a dying drive in the array (hereafter "drive N"). Obviously I should

Re: [zfs-discuss] Zero page reclaim with ZFS

2008-12-29 Thread Torrey McMahon
On 12/29/2008 10:36 PM, Tim wrote: > > > On Mon, Dec 29, 2008 at 8:52 PM, Torrey McMahon > wrote: > > On 12/29/2008 8:20 PM, Tim wrote: > > I run into the same thing but once I say, "I can add more space > without downtime" they tend to smarten up. Also, ZFS

Re: [zfs-discuss] Cannot remove a file on a GOOD ZFS filesystem

2008-12-29 Thread Sanjeev Bagewadi
Marcelo, Marcelo Leal wrote: > Hello all... > Can that be caused by some cache on the LSI controller? > Some flush that the controller or disk did not honour? > More details on the problem would help. Can you please give the following details : - zpool status - zfs list -r - The details of

Re: [zfs-discuss] Zero page reclaim with ZFS

2008-12-29 Thread Tim
On Mon, Dec 29, 2008 at 8:52 PM, Torrey McMahon wrote: > On 12/29/2008 8:20 PM, Tim wrote: > > I run into the same thing but once I say, "I can add more space without > downtime" they tend to smarten up. Also, ZFS will not reuse blocks in a, for > lack of better words, economical fashion. If you

Re: [zfs-discuss] Zero page reclaim with ZFS

2008-12-29 Thread Richard Elling
Torrey McMahon wrote: > On 12/29/2008 8:20 PM, Tim wrote: > >> On Mon, Dec 29, 2008 at 6:09 PM, Torrey McMahon > > wrote: >> >> >> There are some mainframe filesystems that do such things. I think >> there >> was also an STK array - Iceberg[?] - that had s

Re: [zfs-discuss] Zero page reclaim with ZFS

2008-12-29 Thread Torrey McMahon
On 12/29/2008 8:20 PM, Tim wrote: > > > On Mon, Dec 29, 2008 at 6:09 PM, Torrey McMahon > wrote: > > > There are some mainframe filesystems that do such things. I think > there > was also an STK array - Iceberg[?] - that had similar functionality. > Howe

Re: [zfs-discuss] Upgrade from UFS -> ZFS on a single disk?

2008-12-29 Thread Josh Rivel
Richard, Thank you for the tip. We are running SXCE currently (snv_81) on all the clients, and are probably going to stick with it. We may run 2008.11 for the backend servers (those are already running ZFS). Josh -- This message posted from opensolaris.org

Re: [zfs-discuss] disk resizing with zfs

2008-12-29 Thread Tim
On Mon, Dec 29, 2008 at 10:49 AM, Cyril Payet wrote: > Hello there, > I just wonder how to make zfs aware of a lun resizing, with no downtime > (Veritas "vxdisk resize" or MS "diskpart" can do this). > I'm quite sure that there were some threads on this but I can't find them. > I do know that re

Re: [zfs-discuss] Upgrade from UFS -> ZFS on a single disk?

2008-12-29 Thread Richard Elling
The ZFS Administration Guide describes how to do this in the section on Migrating a UFS Root File System to a ZFS Root File System (Solaris Live Upgrade). LiveUpgrade only applies to SXCE, though. The OpenSolaris installer does not currently have the ability to do such things. http://www.opensolar

Re: [zfs-discuss] Zero page reclaim with ZFS

2008-12-29 Thread Tim
On Mon, Dec 29, 2008 at 6:09 PM, Torrey McMahon wrote: > > There are some mainframe filesystems that do such things. I think there > was also an STK array - Iceberg[?] - that had similar functionality. > However, why would you use ZFS on top of HDP? If the filesystem lets you > grow dynamically,

Re: [zfs-discuss] Zero page reclaim with ZFS

2008-12-29 Thread Torrey McMahon
Cyril Payet wrote: >> Hello there, >> Hitachi USP-V (sold as 9990V by Sun) provides thin provisioning, >> known as Hitachi Dynamic Provisioning (HDP). >> This gives a way to make the OS believes that a huge lun is >> available whilst its size is not physically allocated on the >> DataSystem side

Re: [zfs-discuss] Zero page reclaim with ZFS

2008-12-29 Thread Kees Nuyt
On Mon, 29 Dec 2008 19:17:27 +, Andrew Gabriel wrote: >Out of curiosity, is there any filesystem which >zeros blocks as they are freed up? The native filesystem of the Fujitsu Siemens mainframe operating system "BS2000/OSD" does that: - if a file is deleted with the DELETE-FILE command,

Re: [zfs-discuss] Redundancy for /opt by raidz?

2008-12-29 Thread Vincent Fox
Seems a lot simpler to create a multi-way mirror. Then symlink your /opt/BIND or whatever off to new place. # zpool create opt-new mirror c3t40d0 c3t40d1 c3t40d2 c3t40d3 # zpool status pool: opt-new state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM

Re: [zfs-discuss] ZFS vs HardWare raid - data integrity?

2008-12-29 Thread Vincent Fox
To answer original post, simple answer: Almost all old RAID designs have holes in their logic where they are insufficiently paranoid on the writes or read, and sometimes both. One example is the infamous RAID-5 write hole. Look at simple example of mirrored SVM versus ZFS in page 15&16 of thi

Re: [zfs-discuss] Zero page reclaim with ZFS

2008-12-29 Thread Andrew Gabriel
Cyril Payet wrote: Hello there, Hitachi USP-V (sold as 9990V by Sun) provides thin provisioning, known as Hitachi Dynamic Provisioning (HDP). This gives a way to make the OS believes that a huge lun is available whilst its size is not physically allocated on the DataSystem side.

[zfs-discuss] How ZFS decides if write to the slog or directly to the POOL

2008-12-29 Thread Marcelo Leal
Hello all, Somedays ago i was looking at the code and did see some variable that seems to make a correlation between the size of the data, and if the data is written to the slog or directly to the pool. But i did not find it anymore, and i think is way more complex than that. For example, if

Re: [zfs-discuss] Problem with time-slider

2008-12-29 Thread Tim Foster
Hi Charles, Charles wrote: > And for timf, I have red your pages, but I don't understand what to > do. In the bug report, the workaround is to unmount and mount the > filesystem, but I don't know how to do this with zfs. > > When I enter "zfs list" I get that: > > rpool/ROOT/opensolaris 8,96

[zfs-discuss] Zero page reclaim with ZFS

2008-12-29 Thread Cyril Payet
Hello there, Hitachi USP-V (sold as 9990V by Sun) provides thin provisioning, known as Hitachi Dynamic Provisioning (HDP). This gives a way to make the OS believes that a huge lun is available whilst its size is not physically allocated on the DataSystem side. A simple example : 100Gb seen by the O

Re: [zfs-discuss] Cannot remove a file on a GOOD ZFS filesystem

2008-12-29 Thread Marcelo Leal
Hello all... Can that be caused by some cache on the LSI controller? Some flush that the controller or disk did not honour? -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.or

Re: [zfs-discuss] Upgrade from UFS -> ZFS on a single disk?

2008-12-29 Thread Bob Friesenhahn
On Mon, 29 Dec 2008, Akhilesh Mritunjai wrote: > Seriously, if I had that many on _field_ I'd directly ring my support rep. > > Getting one step go wrong from instruction provided in forum might > mean that you'd have to spend quite a long time fixing everyone (or > worse re-installing) one by o

[zfs-discuss] disk resizing with zfs

2008-12-29 Thread Cyril Payet
Hello there, I just wonder how to make zfs aware of a lun resizing, with no downtime (Veritas "vxdisk resize" or MS "diskpart" can do this). I'm quite sure that there were some threads on this but I can't find them. I do know that resizing a lun is not the common way to expand a pool (since a simpl

Re: [zfs-discuss] Problem with time-slider

2008-12-29 Thread Charles
Thanks you all for you help First, I tried the command and this is what I get: svcs -v zfs/auto-snapshot STATE NSTATESTIMECTID FMRI online - 14:48:56 - svc:/system/filesystem/zfs/auto-snapshot:weekly online - 14:48:57 -

Re: [zfs-discuss] Problem with time-slider

2008-12-29 Thread Tim Foster
Hi there, Charles wrote: > I'm a new user of OpenSolaris 2008.11, I switched from Linux to try > the time-slider, but now when I execute the time-slider I get this > message: > > http://img115.imageshack.us/my.php?image=capturefentresansnomfx9.png I wish we'd release-noted this particular proble

Re: [zfs-discuss] Problem with time-slider

2008-12-29 Thread Mike Gerdts
On Mon, Dec 29, 2008 at 8:21 AM, Charles wrote: > Hi > > I'm a new user of OpenSolaris 2008.11, I switched from Linux to try the > time-slider, but now when I execute the time-slider I get this message: > > http://img115.imageshack.us/my.php?image=capturefentresansnomfx9.png Try running svcs -v

[zfs-discuss] Problem with time-slider

2008-12-29 Thread Charles
Hi I'm a new user of OpenSolaris 2008.11, I switched from Linux to try the time-slider, but now when I execute the time-slider I get this message: http://img115.imageshack.us/my.php?image=capturefentresansnomfx9.png Thanks you and happy new year ^^ -- This message posted from opensolaris.org

Re: [zfs-discuss] Upgrade from UFS -> ZFS on a single disk?

2008-12-29 Thread Akhilesh Mritunjai
Seriously, if I had that many on _field_ I'd directly ring my support rep. Getting one step go wrong from instruction provided in forum might mean that you'd have to spend quite a long time fixing everyone (or worse re-installing) one by one from scratch! Get a support guy walk you through this

Re: [zfs-discuss] separate home "partition"?

2008-12-29 Thread Johan Hartzenberg
On Mon, Dec 29, 2008 at 1:12 AM, scott wrote: > thanks for the input. since i have no interest in multibooting (virtualbox > will suit my needs), i created a 10gb partition on my 500gb drive for > opensolaris and reserved the rest for files (130gb worth). > > after installing the os and fdisking