[zfs-discuss] reproducible zfs panic on Solaris 10 06/06

2006-11-01 Thread Matthew Flanagan
Hi, I am able to reproduce the following panic on a number of Solaris 10 06/06 boxes (Sun Blade 150, V210 and T2000). The script to do this is: #!/bin/sh -x uname -a mkfile 100m /data zpool create tank /data zpool status cd /tank ls -al cp /etc/services . ls -al cd / rm /data zpool status # unco

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Dick Davies
On 01/11/06, Rick McNeal <[EMAIL PROTECTED]> wrote: I too must be missing something. I can't imagine why it would take 5 minutes to online a target. A ZVOL should automatically be brought online since now initialization is required. s/now/no/ ? Thanks for the explanation. The '5 minute online

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Richard Elling - PAE
Rick McNeal wrote: Looking at the code it doesn't seem like the backing store being zeroed. In case of regular file a single sector (512 byte) of uninitialized data from stack (bad practice ?) is written to the very end of the file. And in case I hang my head in shame. I've fixed the code.

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Rick McNeal
Cyril Plisko wrote: On 11/1/06, Dick Davies <[EMAIL PROTECTED]> wrote: On 01/11/06, Dick Davies <[EMAIL PROTECTED]> wrote: > And we'll be able to use sparse zvols > for this too (can't think why we couldn't, but it'd be dead handy)? Thinking about this, we won't be able to (without some chang

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Rick McNeal
Instead of replying to each of the messages I'll just reply to the last, but answer the questions that each of the three have raised. Dick Davies wrote: On 01/11/06, Cyril Plisko <[EMAIL PROTECTED]> wrote: On 11/1/06, Dick Davies <[EMAIL PROTECTED]> wrote: > On 01/11/06, Dick Davies <[EMAIL PR

[zfs-discuss] User quotas. A recurring question

2006-11-01 Thread Chris Gerhard
One question that keeps coming up in my discussions about ZFS is the lack of user quotas. Typically this comes from people who have many tens of thousands (30,000 - 100,000) of users where they feel that having a file system per user will not be manageable. I would agree that today that is the

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Rick McNeal
Adam Leventhal wrote: On Wed, Nov 01, 2006 at 09:58:12AM +, Darren J Moffat wrote: iscsioptions This property, which is hidden by default, is used by the iSCSI target daemon to store persistent information such as the IQN. The contents are not intended for users or

Re: [storage-discuss] Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Rick McNeal
Richard Elling - PAE wrote: Adam Leventhal wrote: On Wed, Nov 01, 2006 at 04:00:43PM -0500, Torrey McMahon wrote: Lets say server A has the pool with NFS shared, or iSCSI shared, volumes. Server A exports the pool or goes down. Server B imports the pool. Which clients would still be active

Re: [storage-discuss] Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Rick McNeal
Cyril Plisko wrote: > Can we do something similar to NFS case, where sharenfs can be > "on", "off", or something else, in which case it is a list of options ? > Would this technique be applicable to shareiscsi too ? Absolutely. We would, however, like to be conservative about adding options

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Richard Elling - PAE
Adam Leventhal wrote: On Wed, Nov 01, 2006 at 04:00:43PM -0500, Torrey McMahon wrote: Lets say server A has the pool with NFS shared, or iSCSI shared, volumes. Server A exports the pool or goes down. Server B imports the pool. Which clients would still be active on the filesystem(s)? The ones

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Adam Leventhal
On Wed, Nov 01, 2006 at 04:00:43PM -0500, Torrey McMahon wrote: > Lets say server A has the pool with NFS shared, or iSCSI shared, > volumes. Server A exports the pool or goes down. Server B imports the pool. > > Which clients would still be active on the filesystem(s)? The ones that > were moun

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Torrey McMahon
Spencer Shepler wrote: On Wed, Adam Leventhal wrote: On Wed, Nov 01, 2006 at 01:17:02PM -0500, Torrey McMahon wrote: Is there going to be a method to override that on the import? I can see a situation where you want to import the pool for some kind of maintenance procedure but you don'

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Cyril Plisko
On 11/1/06, Adam Leventhal <[EMAIL PROTECTED]> wrote: On Wed, Nov 01, 2006 at 09:25:26PM +0200, Cyril Plisko wrote: > On 11/1/06, Adam Leventhal <[EMAIL PROTECTED]> wrote: > >> >What properties are you specifically interested in modifying? > >> > >> LUN for example. How would I configure LUN via

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Adam Leventhal
On Wed, Nov 01, 2006 at 09:25:26PM +0200, Cyril Plisko wrote: > On 11/1/06, Adam Leventhal <[EMAIL PROTECTED]> wrote: > >> >What properties are you specifically interested in modifying? > >> > >> LUN for example. How would I configure LUN via zfs command ? > > > >You can't. Forgive my ignorance abo

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Cyril Plisko
On 11/1/06, Adam Leventhal <[EMAIL PROTECTED]> wrote: > >What properties are you specifically interested in modifying? > > LUN for example. How would I configure LUN via zfs command ? You can't. Forgive my ignorance about how iSCSI is deployed, but why would you want/need to change the LUN? We

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Spencer Shepler
On Wed, Adam Leventhal wrote: > On Wed, Nov 01, 2006 at 01:17:02PM -0500, Torrey McMahon wrote: > > Is there going to be a method to override that on the import? I can see > > a situation where you want to import the pool for some kind of > > maintenance procedure but you don't want the iSCSI tar

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Adam Leventhal
On Wed, Nov 01, 2006 at 07:00:52PM +, Ceri Davies wrote: > > There isn't -- to my knowledge -- a way to do this today for NFS shares. > > This would be a reasonable RFE that would apply to both NFS and iSCSI. > > svcadm disable nfs/server ? That won't to it because the service will be automat

Re: [zfs-discuss] Re: [storage-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Adam Leventhal
On Wed, Nov 01, 2006 at 12:22:46PM -0500, Matty wrote: > This is super useful! Will ACLs and aliases be stored as properties? Could > you post the list of available iSCSI properties to the list? We're still investigating ACL and iSNS support. The alias name will always be the name of the dataset,

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Ceri Davies
On Wed, Nov 01, 2006 at 10:57:27AM -0800, Adam Leventhal wrote: > On Wed, Nov 01, 2006 at 01:17:02PM -0500, Torrey McMahon wrote: > > Is there going to be a method to override that on the import? I can see > > a situation where you want to import the pool for some kind of > > maintenance procedur

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Adam Leventhal
On Wed, Nov 01, 2006 at 01:17:02PM -0500, Torrey McMahon wrote: > Is there going to be a method to override that on the import? I can see > a situation where you want to import the pool for some kind of > maintenance procedure but you don't want the iSCSI target to fire up > automagically. Ther

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Torrey McMahon
Adam Leventhal wrote: Exporting a pool containing a shared ZVOL will cause the target to be removed; importing a pool containing a shared ZVOL will cause the target to be shared: Is there going to be a method to override that on the import? I can see a situation where you want to import

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Adam Leventhal
> >What properties are you specifically interested in modifying? > > LUN for example. How would I configure LUN via zfs command ? You can't. Forgive my ignorance about how iSCSI is deployed, but why would you want/need to change the LUN? Adam On Wed, Nov 01, 2006 at 01:36:05PM +0200, Cyril Plis

[zfs-discuss] Re: [storage-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Matty
On Wed, 1 Nov 2006, Adam Leventhal wrote: Rick McNeal and I have been working on building support for sharing ZVOLs as iSCSI targets directly into ZFS. Below is the proposal I'll be submitting to PSARC. Comments and suggestions are welcome. Adam ---8<--- iSCSI/ZFS Integration A. Overview T

Re: [zfs-discuss] zfs sharenfs inheritance

2006-11-01 Thread Robert Petkus
Robert Thurlow wrote: > Robert Petkus wrote: > >> When using sharenfs, do I really need to NFS export the parent zfs >> filesystem *and* all of its children? For example, if I have >> /zfshome >> /zfshome/user1 >> /zfshome/user1+n >> it seems to me like I need to mount each of these exported files

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Dick Davies
On 01/11/06, Cyril Plisko <[EMAIL PROTECTED]> wrote: On 11/1/06, Dick Davies <[EMAIL PROTECTED]> wrote: > On 01/11/06, Dick Davies <[EMAIL PROTECTED]> wrote: > > And we'll be able to use sparse zvols > > for this too (can't think why we couldn't, but it'd be dead handy)? > > Thinking about this,

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Cyril Plisko
On 11/1/06, Dick Davies <[EMAIL PROTECTED]> wrote: On 01/11/06, Dick Davies <[EMAIL PROTECTED]> wrote: > And we'll be able to use sparse zvols > for this too (can't think why we couldn't, but it'd be dead handy)? Thinking about this, we won't be able to (without some changes) - I think a target

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Dick Davies
On 01/11/06, Dick Davies <[EMAIL PROTECTED]> wrote: And we'll be able to use sparse zvols for this too (can't think why we couldn't, but it'd be dead handy)? Thinking about this, we won't be able to (without some changes) - I think a target is zero-filled before going online (educated guess: it

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Dick Davies
On 01/11/06, Adam Leventhal <[EMAIL PROTECTED]> wrote: Rick McNeal and I have been working on building support for sharing ZVOLs as iSCSI targets directly into ZFS. Below is the proposal I'll be submitting to PSARC. Comments and suggestions are welcome. Adam Am I right in thinking we're effect

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Cyril Plisko
On 11/1/06, Adam Leventhal <[EMAIL PROTECTED]> wrote: On Wed, Nov 01, 2006 at 12:18:36PM +0200, Cyril Plisko wrote: > > > >Note again that all configuration information is stored with the dataset. > >As > >with NFS shared filesystems, iSCSI targets imported on a different system > >will be shared

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Ceri Davies
On Wed, Nov 01, 2006 at 02:14:24AM -0800, Adam Leventhal wrote: > On Wed, Nov 01, 2006 at 10:05:01AM +, Ceri Davies wrote: > > On Wed, Nov 01, 2006 at 01:33:33AM -0800, Adam Leventhal wrote: > > > Rick McNeal and I have been working on building support for sharing ZVOLs > > > as iSCSI targets d

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Adam Leventhal
On Wed, Nov 01, 2006 at 12:18:36PM +0200, Cyril Plisko wrote: > > > >Note again that all configuration information is stored with the dataset. > >As > >with NFS shared filesystems, iSCSI targets imported on a different system > >will be shared appropriately. > > > Does that mean that if I manage

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Cyril Plisko
Note again that all configuration information is stored with the dataset. As with NFS shared filesystems, iSCSI targets imported on a different system will be shared appropriately. Does that mean that if I manage the iSCSI target via iscsitadm after it is shared via zfs shareiscsi=on and then

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Adam Leventhal
On Wed, Nov 01, 2006 at 10:05:01AM +, Ceri Davies wrote: > On Wed, Nov 01, 2006 at 01:33:33AM -0800, Adam Leventhal wrote: > > Rick McNeal and I have been working on building support for sharing ZVOLs > > as iSCSI targets directly into ZFS. Below is the proposal I'll be > > submitting to PSARC.

[zfs-discuss] Re: [storage-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Adam Leventhal
> I'm assuming that growing the backing-store will be transparent, say > increasing a target from 500GB to 1TB. Yes, if you were to set the 'volsize' property, that change would show up in the target: # iscsitadm list target -v Target: pool/volumes/vol1 iSCSI Name: iqn.1986-03.com.sun:02:4db

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Adam Leventhal
On Wed, Nov 01, 2006 at 09:58:12AM +, Darren J Moffat wrote: > >iscsioptions > > > > This property, which is hidden by default, is used by the iSCSI > > target > > daemon to store persistent information such as the IQN. The contents > > are not intended for users or externa

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Ceri Davies
On Wed, Nov 01, 2006 at 01:33:33AM -0800, Adam Leventhal wrote: > Rick McNeal and I have been working on building support for sharing ZVOLs > as iSCSI targets directly into ZFS. Below is the proposal I'll be > submitting to PSARC. Comments and suggestions are welcome. It looks great and I'd love t

[zfs-discuss] RAID-Z1 pool became faulted when a disk was removed.

2006-11-01 Thread Rince
So I have attached to my system two 7-disk SCSI arrays, each of 18.2 GB disks.Each of them is a RAID-Z1 zpool.I had a disk I thought was a dud, so I pulled the fifth disk in my array and put the dud in. Sure enough, Solaris started spitting errors like there was no tomorrow in dmesg, and wouldn't u

Re: [zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Darren J Moffat
Adam Leventhal wrote: iSCSI/ZFS Integration A. Overview The goal of this project is to couple ZFS with the iSCSI target in Solaris specifically to make it as easy to create and export ZVOLs via iSCSI as it is to create and export ZFS filesystems via NFS. We will add two new ZFS properties to su

[zfs-discuss] ZFS/iSCSI target integration

2006-11-01 Thread Adam Leventhal
Rick McNeal and I have been working on building support for sharing ZVOLs as iSCSI targets directly into ZFS. Below is the proposal I'll be submitting to PSARC. Comments and suggestions are welcome. Adam ---8<--- iSCSI/ZFS Integration A. Overview The goal of this project is to couple ZFS with

[zfs-discuss] snv_49 & thumper

2006-11-01 Thread Robert Milkowski
Hello opensolaris-bugs, After some simple stress testing I got on console: [all those strange errors are there - it's not a problem with email] Nov 1 02:24:36 jumpstart2 scsi: WARNING: /[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci11ab,[EMAIL PROTECTED]/[EMAIL PROTECTED],0 (sd16): Nov 1