Re: [zfs-discuss] ZFS Crypto Alpha Release

2007-10-22 Thread Darren J Moffat
Lally Singh wrote:
 Looks great.. Any (long-term distant-future) plans of integrating this
  with the Trusted Extensions for a real quick setup?

For you what would integrated with Trusted Extensions mean ?

They certainly work together just fine, but I want to better understand 
what you are actually looking for here.

Keeping in mind that often a TX label could have one or more ZFS 
datasets delegated to it.  It would likely have one for its root 
filesystem and one or more for the per label home dirs and data.

  With a check to make sure the key's password != the label,
  just to be sure :-P

A generic password quality check would be a good idea to include.

-- 
Darren J Moffat
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS mirroring

2007-10-22 Thread Darren J Moffat
Mertol Ozyoney wrote:
 Hi;
 
  
 
 Do any of you know when ZFS remote mirroring will be available ?

Depends on exactly what you mean by remote mirroring ?

Please explain exactly what you mean by this because there are many 
different definitions.  Some of which ZFS already meets others it 
depends on your constraints.

-- 
Darren J Moffat
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS mirroring

2007-10-22 Thread Mertol Ozyoney
I tried to mean continous data replication between different systems. 



Mertol Ozyoney 
Storage Practice - Sales Manager

Sun Microsystems, TR
Istanbul TR
Phone +902123352200
Mobile +905339310752
Fax +90212335
Email [EMAIL PROTECTED]



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Darren J Moffat
Sent: Monday, October 22, 2007 12:43 PM
To: [EMAIL PROTECTED]
Cc: zfs-discuss@opensolaris.org
Subject: Re: [zfs-discuss] ZFS mirroring

Mertol Ozyoney wrote:
 Hi;
 
  
 
 Do any of you know when ZFS remote mirroring will be available ?

Depends on exactly what you mean by remote mirroring ?

Please explain exactly what you mean by this because there are many 
different definitions.  Some of which ZFS already meets others it 
depends on your constraints.

-- 
Darren J Moffat

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS mirroring

2007-10-22 Thread Darren J Moffat
Mertol Ozyoney wrote:
 I tried to mean continous data replication between different systems. 

Still not enough information.

How many systems, are all of them expected to be read/write at all times  ?

Is HA cluster software (such as Sun Cluster) involved ?

Does the replication need to be synchronous (ie a transaction on A will 
fail if B can't commit it) or is asynchronous sufficient ?  If 
asynchronous what is the time window for replication ?

Is it a single master with remote copies (that are in standby) ?

What network/storage infrastructure is available ?

-- 
Darren J Moffat
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS mirroring

2007-10-22 Thread Mertol Ozyoney
I know I havent defined my particular needs. However I am looking for a
simple explanation of waht is available today and what will be available in
short term. 

Example. One to one asynch replication is suported, many to one synch
replication supported etc 


Regards
Mertol 




Mertol Ozyoney 
Storage Practice - Sales Manager

Sun Microsystems, TR
Istanbul TR
Phone +902123352200
Mobile +905339310752
Fax +90212335
Email [EMAIL PROTECTED]



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Darren J Moffat
Sent: Monday, October 22, 2007 12:48 PM
To: [EMAIL PROTECTED]
Cc: zfs-discuss@opensolaris.org
Subject: Re: [zfs-discuss] ZFS mirroring

Mertol Ozyoney wrote:
 I tried to mean continous data replication between different systems. 

Still not enough information.

How many systems, are all of them expected to be read/write at all times  ?

Is HA cluster software (such as Sun Cluster) involved ?

Does the replication need to be synchronous (ie a transaction on A will 
fail if B can't commit it) or is asynchronous sufficient ?  If 
asynchronous what is the time window for replication ?

Is it a single master with remote copies (that are in standby) ?

What network/storage infrastructure is available ?

-- 
Darren J Moffat
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS mirroring

2007-10-22 Thread Jim Dunham

Mertol,


Hi;

 Do any of you know when ZFS remote mirroring will be available ?


Host-based replication of ZFS, and all other Solaris filesystems is  
available using Sun StorageTek Available Suite. AVS has been part of  
OpenSolaris since build 68.


http://www.opensolaris.org/os/project/avs/

Jim Dunham
Storage Platform Software Group

Sun Microsystems, Inc.
1617 Southwood Drive
Nashua, NH 03063
http://blogs.sun.com/avs



regards



image001.gif

Mertol Ozyoney
Storage Practice - Sales Manager

Sun Microsystems, TR
Istanbul TR
Phone +902123352200
Mobile +905339310752
Fax +90212335
Email [EMAIL PROTECTED]





image001.gif
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss



___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Adding my own compression to zfs

2007-10-22 Thread Domingos Soares
 Yes, I think that was the original intent of the project proposal.  It
 could probably be reworded to decrease emphasis on a single algorithm,
 but I read it as a generic exploration of alternative algorithms.

Yes, you read right. The original intent was to investigate
alternative algorithms in a general way instead of focused on a single
one.

 All very
 doable, but it's a lot of work for (IMO) little gain, not to mention
 increased difficulty maintaining compatibility across disparate
 versions (what is the set of compression algorithms needed to be 100%
 compatible?).

Do you have any strong reason to believe that there would be little
gain or is it just a conjecture? I think I could agree with you, but
in my case it's just a conjecture. IMHO I have no idea about how much
gain would be possible and I think that this is the main point we need
to discover. I'm performing some tests to try to find out if different
compression algorithms are REALLY better suited to different entropy
scenarios. A lot of papers claim that but no one, as fair as I know,
gave arguments to support it. As soon as I have got some results I
will post them here.

If the claim is true, I'm sure loadable compression modules would be a
very good improvement to ZFS. It it's not true, I think that the best
to do is just port LZO to ZFS and let aside any other compression
algorithm.

   I haven't heard from any other core contributors, but this sounds like a
   worthy project to me.  Someone from the ZFS team should follow through
   to create the project on os.org[1]

Thank you very much for the support.


Domingos.



 On Sun, Oct 14, 2007 at 03:28:24AM -0700, [EMAIL PROTECTED] wrote:
   I haven't heard from any other core contributors, but this sounds like a
   worthy project to me.  Someone from the ZFS team should follow through
   to create the project on os.org[1]
  
   Its sounds like like Domingos and Roland might constitute the initial
   project team.
 
  In my opinion, the project should also include an effort in getting LZO
  into ZFS. As an advanced fast but efficient variant.
 
  For that matter, if it were up to me, there should be an effort in
  modularizing the ZFS compression algorithms into loadable kernel modules,
  also allowing easy addition of algorithms. I suppose the same should apply
  to other components where possible, e.g. the spacemap allocator discussed
  on this list. But I'm a mere C# coder, so I can't really help with that.
 
  -mg

 --
 Eric Schrock, Solaris Kernel Development   http://blogs.sun.com/eschrock

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] Legacy Mounts - How ?

2007-10-22 Thread Uwe Dippel
Hi,

back after half a year ...
... and still, after reading documents for the last half day, I am not
a bit wiser.
Someone had promised to update (and simplify) some examples, but - at
least to me - that hasn't happened. :(
[Just read the 'Legacy Mount Points', and tell me as beginner, what to do ?!)

I need to mount /dev/dsk/c2d0s1 into my existing file system (UFS).
Just to retrieve the data, and done. Is that so complicated ?
Should not, but all my 10-20 efforts until now have failed miserably.

The closest I get is to 'zpool import', and it shows the name of the
zfs on that drive ('home'). But mounting fails, saying it might be
busy. And it proposes -f, but that also fails, because the mount point
'/export/home' is used.
Also, I don't want to import a pool, since I have none and don't want one.

Please, again, review the documentation and make a beginners' guide
that allows us to use ZFS without first getting a PhD in it, and all
its terminologies, constructions, syntaxes and data structures !

Uwe
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] ZFS boot for xVM builds?

2007-10-22 Thread Adam Lindsay
Hi all.

I've been running the ZFS boot netinstall setup on SXCE's snv_69 and 
snv_70 very happily. I'm anticipating the release of xVM with build 75, 
and wondering if the same ZFS install procedure is likely to work, or if 
  I'll be left waiting further for more changes.

I understand that this probably is asking people to speculate, but since 
I'm still waiting on IP addresses locally, I figured it could hurt to 
ask for planning purposes.

cheers,
adam
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] ZFS SATA Hotswap Autoreplace

2007-10-22 Thread Jeff Creek
I am trying to test a new setup of NV74.  I have set up the system with ZFS 
boot.  Everything works fine until I pull a drive.  The system locks up when I 
try to run any command e.g. zpool status.  There is no communication with the 
server from then on.  It does not even respond to pings.

Setup -

Supermicro SC836TQ-R800 Chassis
Supermicro X7DB8 Motherboard
Supermicro SAT2-MV8 SATA controller
Hitatchi Deskstar Harddrives 2 80GB Mirrored and 4 1 TB RaidZ
Autoreplace set to ON

If i push the reset button the system will come back up ok.  I can then run 
zpool status and find which drive is 'bad'.  I would rather the system keep 
functioning so I can just run the zpool status and then replace the 'bad' drive.

Is this setup not supported?  Is there something I missed?

Thanks,

Jeff
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS mirroring

2007-10-22 Thread eric kustarz

On Oct 22, 2007, at 2:52 AM, Mertol Ozyoney wrote:

 I know I havent defined my particular needs. However I am looking  
 for a
 simple explanation of waht is available today and what will be  
 available in
 short term.

 Example. One to one asynch replication is suported, many to one synch
 replication supported etc

You can use 'zfs send/recv' to do asynchronous replication.

Existing today is the ability to take recursive snapshot ('zfs  
snapshot -r').  Coming at the end of this week is the ability to send  
over multiple file systems with one command ('zfs send -R'):
http://www.opensolaris.org/os/community/arc/caselog/2007/574/mail

So for example, each night you could do:
# zfs snapshot -r tank/[EMAIL PROTECTED]
# zfs send -R tank/[EMAIL PROTECTED]  | ssh otherhost zfs recv -d backuptank
# zfs destroy -r tank/[EMAIL PROTECTED]
# zfs rename -r tank/[EMAIL PROTECTED] tank/[EMAIL PROTECTED]

eric

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Mounting ZFS Pool to a different server

2007-10-22 Thread Robert Milkowski




Hello Mike,

Saturday, October 20, 2007, 3:21:16 AM, you wrote:







The ideal situation it would go like:

host1# zpool export pool
host2# zpool import pool

If you know (really know) that it is offline on the other server (e.g. you can verify the host is dead), you can use:

# zpool import -f pool








And probably it would be good to use zpool import -R / 




--
Best regards,
Robert  mailto:[EMAIL PROTECTED]
   http://milek.blogspot.com



___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Mounting ZFS Pool to a different server

2007-10-22 Thread Robert Milkowski




Hello Mertol,

Friday, October 19, 2007, 10:49:13 PM, you wrote:







Hi;


In summary they want to take the control of a ZFS pool if the primary server fails for some reason. I know we can do it with Sun Cluster how ever this is pretty complex and expensive .








Well, Sun Cluster is for free if you don't need a support


--
Best regards,
Robert  Milkowskimailto:[EMAIL PROTECTED]
   http://milek.blogspot.com



___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Legacy Mounts - How ?

2007-10-22 Thread Eric Schrock
If it's just for recovery purposes, try 'zpool import -f -R /mnt pool'.

Because there isn't a 1:1 correspondence between filesystems and pools,
it isn't possible to just mount a filesystem without importing the pool.
And every ZFS filesystem must be part of a pool, so I'm not sure what
you mean by I have none and don't want one.

- Eric

On Mon, Oct 22, 2007 at 11:42:21PM +0800, Uwe Dippel wrote:
 Hi,
 
 back after half a year ...
 ... and still, after reading documents for the last half day, I am not
 a bit wiser.
 Someone had promised to update (and simplify) some examples, but - at
 least to me - that hasn't happened. :(
 [Just read the 'Legacy Mount Points', and tell me as beginner, what to do ?!)
 
 I need to mount /dev/dsk/c2d0s1 into my existing file system (UFS).
 Just to retrieve the data, and done. Is that so complicated ?
 Should not, but all my 10-20 efforts until now have failed miserably.
 
 The closest I get is to 'zpool import', and it shows the name of the
 zfs on that drive ('home'). But mounting fails, saying it might be
 busy. And it proposes -f, but that also fails, because the mount point
 '/export/home' is used.
 Also, I don't want to import a pool, since I have none and don't want one.
 
 Please, again, review the documentation and make a beginners' guide
 that allows us to use ZFS without first getting a PhD in it, and all
 its terminologies, constructions, syntaxes and data structures !
 
 Uwe
 ___
 zfs-discuss mailing list
 zfs-discuss@opensolaris.org
 http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

--
Eric Schrock, Solaris Kernel Development   http://blogs.sun.com/eschrock
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS SATA Hotswap Autoreplace

2007-10-22 Thread Eric Schrock
I don't think that SATA controller is supported by the SATA framework
(you may want to ask storage-discuss), so it's operating in legacy
(PATA) mode.  Legacy mode doesn't support hotplug.  The FMA code should
eventually diagnose this drive as faulty, and there is a fix in the
works to sidestep this roundtrip discussion with fmd for pathologically
broken drives.

- Eric

On Mon, Oct 22, 2007 at 09:16:53AM -0700, Jeff Creek wrote:
 I am trying to test a new setup of NV74.  I have set up the system with ZFS 
 boot.  Everything works fine until I pull a drive.  The system locks up when 
 I try to run any command e.g. zpool status.  There is no communication with 
 the server from then on.  It does not even respond to pings.
 
 Setup -
 
 Supermicro SC836TQ-R800 Chassis
 Supermicro X7DB8 Motherboard
 Supermicro SAT2-MV8 SATA controller
 Hitatchi Deskstar Harddrives 2 80GB Mirrored and 4 1 TB RaidZ
 Autoreplace set to ON
 
 If i push the reset button the system will come back up ok.  I can then run 
 zpool status and find which drive is 'bad'.  I would rather the system keep 
 functioning so I can just run the zpool status and then replace the 'bad' 
 drive.
 
 Is this setup not supported?  Is there something I missed?
 
 Thanks,
 
 Jeff
  
  
 This message posted from opensolaris.org
 ___
 zfs-discuss mailing list
 zfs-discuss@opensolaris.org
 http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

--
Eric Schrock, Solaris Kernel Development   http://blogs.sun.com/eschrock
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZIL reliability/replication questions

2007-10-22 Thread Scott Laird
On 10/18/07, Neil Perrin [EMAIL PROTECTED] wrote:
 
  The umem one is unavailable, but the Gigabyte model is easy to find.
  I had Amazon overnight one to me, it's probably sitting at home right
  now.

 Cool let us know how it goes.

Not so well.  I was completely unable to get the card to work at all.
The motherboard's BIOS wouldn't even list the GC-RAMDISK during the
bus scan.  Solaris saw it, but couldn't talk to it:

Oct 20 12:50:54 fs2 ahci: [ID 632458 kern.warning] WARNING:
ahci_port_reset: port 1 the device hardware has been initialized and
the power-up diagnostics failed

The Supermicro 8-port SATA card's BIOS saw it, but Solaris reported
errors at boot time:

Oct 20 12:06:00 fs2 marvell88sx: [ID 748163 kern.warning] WARNING:
marvell88sx0: device on port 5 still busy after reset

I tried using it with the motherboard's Marvell-based eSATA ports, but
that made the POST hang for a minute or two and Solaris spewed errors
all over the console after boot.

I'm sending it back.


Scott
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] zfs + iscsi + ntfs best practices

2007-10-22 Thread Peter Baumgartner
I need to format a zfs iscsi target as ntfs (Samba + ADS got the best
of me). How do you recommend setting up the software for optimal
stability? My main concern is how I will handle growing the partition
down the road. Any advice from those experienced in a setup like this
is much appreciated.

-- 
Pete
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZIL reliability/replication questions

2007-10-22 Thread Will Murnane
On 10/22/07, Scott Laird [EMAIL PROTECTED] wrote:
 Oct 20 12:50:54 fs2 ahci: [ID 632458 kern.warning] WARNING:
 ahci_port_reset: port 1 the device hardware has been initialized and
 the power-up diagnostics failed
IIRC, Gigabyte cheaped out and didn't implement SMART.  Thus,
everything that tries to keep track of this marks the drives as
failed.

 I'm sending it back.
Good plan.

Will
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] [storage-discuss] SATA Hotswap

2007-10-22 Thread Lida Horn
Jeff Creek wrote:
 I posted this in ZFS-Discuss.  Eric Schrock suggested I ask in this forum.

 I am trying to test a new setup of NV74. I have set up the system with ZFS 
 boot. Everything works fine until I pull a drive. The system locks up when I 
 try to run any command e.g. zpool status. There is no communication with the 
 server from then on. It does not even respond to pings.

 Setup -

 Supermicro SC836TQ-R800 Chassis
 Supermicro X7DB8 Motherboard
 Supermicro SAT2-MV8 SATA controller
 Hitatchi Deskstar Harddrives 2 80GB Mirrored and 4 1 TB RaidZ
 Autoreplace set to ON

 If i push the reset button the system will come back up ok. I can then run 
 zpool status and find which drive is 'bad'. I would rather the system keep 
 functioning so I can just run the zpool status and then replace the 'bad' 
 drive.

 Is this setup not supported? Is there something I missed?  What SATA 
 controller (if any) is supported for hot swap?
   

I believe that the device you have is a Marvell88SX6081, but without 
prtconf output it is
hard to say.  If you were to post the output from prtconf -pv and 
prtconf -D it might
help figure out what is happening here.  /var/adm/messages contents 
might also be useful
as well as the output from cfgadm.

Regards,
Lida
 Thanks,

 Jeff
  
  
 This message posted from opensolaris.org
 ___
 storage-discuss mailing list
 [EMAIL PROTECTED]
 http://mail.opensolaris.org/mailman/listinfo/storage-discuss
   

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] Hierarchal zfs mounts

2007-10-22 Thread Mike DeMarco
Looking for a way to mount a zfs filesystem ontop of another zfs filesystem 
without resorting to legacy mode.
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Hierarchal zfs mounts

2007-10-22 Thread Michael Schuster
Mike DeMarco wrote:
 Looking for a way to mount a zfs filesystem ontop of another zfs
 filesystem without resorting to legacy mode.

doesn't simply 'zfs set mountpoint=...' work for you?

-- 
Michael Schuster
Recursion, n.: see 'Recursion'
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS Crypto Alpha Release

2007-10-22 Thread Lally Singh
A few things come to mind:
* Attaching a label to the zfs filesystem, so I can't mount the FS in
an unlabeled or differently-labeled zone if I don't want to.
(multiple labels for shared fs's would be cool, too.)
* Connecting the startup of the trusted zone (I'm still learning this
stuff, sorry if I'm completely off) to the mounting of the filesystem
-- I guess these two are similar, in enforcing access to the
restricted data to the restricted environment.  Perhaps requiring the
keys to the fs's as the zone boots.
* Straightforward setup to set them both up together.

On a portable or an easy-to-steal desktop, the trusted zone's don't
help me much without an encrypted store for it.  Encrypted ZFS is
useful by itself, but trusted zones with a disk that can get stolen
needs encryption.

Optimally, that mind-boggling 2-line setup procedure for my ZFS setup
would be the model for setting up both a zfs encrypted store  a
trusted zone atop of it.
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Hierarchal zfs mounts

2007-10-22 Thread Mike DeMarco
 Mike DeMarco wrote:
  Looking for a way to mount a zfs filesystem ontop
 of another zfs
  filesystem without resorting to legacy mode.
 
 doesn't simply 'zfs set mountpoint=...' work for you?
 
 -- 
 Michael Schuster
 Recursion, n.: see 'Recursion'
 ___
 zfs-discuss mailing list
 zfs-discuss@opensolaris.org
 http://mail.opensolaris.org/mailman/listinfo/zfs-discu
 ss

well if you create let say a local/apps and a local/apps-bin then 
zfs set mountpoint=/apps local/apps
zfs set mountpoint=/apps/bin  local/apps-bin

now if you reboot the system there is no mechanism to tell zfs to mount /apps 
first and /apps/bin second so you could get /apps/bin mounted first and then 
/apps either will mount overtop or wont mount.
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Hierarchal zfs mounts

2007-10-22 Thread A Darren Dunham
On Mon, Oct 22, 2007 at 11:41:57AM -0700, Michael Schuster wrote:
 Mike DeMarco wrote:
  Looking for a way to mount a zfs filesystem ontop of another zfs
  filesystem without resorting to legacy mode.
 
 doesn't simply 'zfs set mountpoint=...' work for you?

Does this have boot-time problems?  I don't see how to force an ordering
of pool imports.

-- 
Darren Dunham   [EMAIL PROTECTED]
Senior Technical Consultant TAOShttp://www.taos.com/
Got some Dr Pepper?   San Francisco, CA bay area
  This line left intentionally blank to confuse you. 
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Hierarchal zfs mounts

2007-10-22 Thread Eric Schrock
On Mon, Oct 22, 2007 at 12:16:21PM -0700, Mike DeMarco wrote:
  Mike DeMarco wrote:
   Looking for a way to mount a zfs filesystem ontop
  of another zfs
   filesystem without resorting to legacy mode.
  
  doesn't simply 'zfs set mountpoint=...' work for you?
  
  -- 
  Michael Schuster
  Recursion, n.: see 'Recursion'
  ___
  zfs-discuss mailing list
  zfs-discuss@opensolaris.org
  http://mail.opensolaris.org/mailman/listinfo/zfs-discu
  ss
 
 well if you create let say a local/apps and a local/apps-bin then 
 zfs set mountpoint=/apps local/apps
 zfs set mountpoint=/apps/bin  local/apps-bin
 
 now if you reboot the system there is no mechanism to tell zfs to
 mount /apps first and /apps/bin second so you could get /apps/bin
 mounted first and then /apps either will mount overtop or wont mount.

The datasets should be mounted in lexical mountpoint order so that
shorter mountpoints are mounted first (see dataset_cmp() in zfs_main.c).
Are you seeing different behavior?

- Eric

--
Eric Schrock, Solaris Kernel Development   http://blogs.sun.com/eschrock
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Hierarchal zfs mounts

2007-10-22 Thread M D
No boot problems. The zfs filesystems are in the same pool. What would be nice 
is something like
zfs set mountorder=1   local/apps
zfs set mountorder=2   local/apps-bin

or something along that line. So one zfs filesystem can be reliably mounted to 
a point inside another zfs filesystem.
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Hierarchal zfs mounts

2007-10-22 Thread Michael Schuster
M D wrote:
 No boot problems. The zfs filesystems are in the same pool. What would
 be nice is something like
  zfs set mountorder=1   local/apps
  zfs set mountorder=2   local/apps-bin
 
 or something along that line. So one zfs filesystem can be reliably
 mounted to a point inside another zfs filesystem.

I may be a missing the obvious here: what are you trying to solve that 
Eric's explanation didn't cover?

Michael
-- 
Michael Schuster
Recursion, n.: see 'Recursion'
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss