| Author |
Message |
Darren Dunham *nix forums Guru
Joined: 22 Feb 2005
Posts: 1120
|
Posted: Thu Jun 22, 2006 12:41 am Post subject:
Re: multiple partitions on Sol10 zone
|
|
|
buckwheat_phd@yahoo.com wrote:
| Quote: | So, can I create the partition on a small slice, then just modifiy the
partition table from the ZONE (after a zlogin) for use of only the
zone?
I don't know what you mean by "create the partition on a small slice".
The partition table is not in any slice, it's in block zero of the disk.
Normal zone access would prevent the zone from seeing a disk or slice,
so this wouldn't be possible.
Right, I didn't say partitiion table. We simply need separate
partitions for the entire file system structure of the non-global zone.
|
If you create a device in the zone matching the disk you're interested
in, this might work. I haven't tried to see if you can access/modify
the disk label.
Even if this works, then the act of publishing that device to the
non-global zone broeaksthe guarantees about zone safety.
| Quote: | To make matters worse, we'd also like to SVM the entire drive to a
mirror - all partitions.
That might not be too bad, but it's not going to be done within the
non-global zone. The zone has no authority to modify SVM.
Do you mean the global SVM? Or do I have ANY control of the SVM from
any non-global zone?
|
No, none. There's only one SVM. It doesn't have enough intelligence to
handle requests from global and non-global zones differently. So access
from the non-global zones doesn't work.
--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. > |
|
| Back to top |
|
 |
Rich Teer *nix forums Guru
Joined: 21 Feb 2005
Posts: 1038
|
Posted: Wed Jun 21, 2006 5:14 am Post subject:
Re: multiple partitions on Sol10 zone
|
|
|
On Tue, 20 Jun 2006, buckwheat_phd@yahoo.com wrote:
| Quote: | Right, I didn't say partitiion table. We simply need separate
partitions for the entire file system structure of the non-global zone.
|
Unusual...
Is waiting a week or two an option? If so, you could use ZFS and carve
up as many file systems as you wanted.
| Quote: | I'm not entirely certain I understand what you're trying to accomplish.
Can you provide a bit more detail about why the zone filesystems have to
be on slices? I'm hoping they could be on SVM metadevices instead.
boy, do I agree with that. But that's what he wants. Again simply
|
Does "he" have any good reason for this? Or is it based on iff (perhaps
old) assumptions?
--
Rich Teer, SCNA, SCSA, OpenSolaris CAB member
President,
Rite Online Inc.
Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich |
|
| Back to top |
|
 |
buckwheat_phd@yahoo.com *nix forums beginner
Joined: 31 Jan 2006
Posts: 15
|
Posted: Wed Jun 21, 2006 3:40 am Post subject:
Re: multiple partitions on Sol10 zone
|
|
|
Darren Dunham wrote:
| Quote: | buckwheat_phd@yahoo.com wrote:
I'm sure there's a method for this - we have a sliced up partition
table on Sol10 like so:
/ - 10gb c0t0d0s0
/opt - 10gb c0t0d0s1
/var - 50gb c0t0d0s2
...
I have about 60 gb of free (unpartitioned space) on the drives.
Q: I need my new zones to utilize the same slices as above, NOT in a
single partition.
Do the filesystems have to be in slices? Could they be separately
mounted loopback filesystems?
|
No. A filesystem/slice as indicated above
| Quote: |
So, can I create the partition on a small slice, then just modifiy the
partition table from the ZONE (after a zlogin) for use of only the
zone?
I don't know what you mean by "create the partition on a small slice".
The partition table is not in any slice, it's in block zero of the disk.
Normal zone access would prevent the zone from seeing a disk or slice,
so this wouldn't be possible.
|
Right, I didn't say partitiion table. We simply need separate
partitions for the entire file system structure of the non-global zone.
| Quote: |
What's the proceedure here? Anyone done this?
I'm pretty sure that's not the way you'd normally want to run zones, but
I'm not entirely certain I understand what you're trying to accomplish.
Can you provide a bit more detail about why the zone filesystems have to
be on slices? I'm hoping they could be on SVM metadevices instead.
|
boy, do I agree with that. But that's what he wants. Again simply
put, instead of one large partition for the non-global zone, we need an
older-style multi-physical-partition structure dedicated to the
non-global zone.
| Quote: |
To make matters worse, we'd also like to SVM the entire drive to a
mirror - all partitions.
That might not be too bad, but it's not going to be done within the
non-global zone. The zone has no authority to modify SVM.
|
Do you mean the global SVM? Or do I have ANY control of the SVM from
any non-global zone?
Thanks for your reply, Darren
| Quote: |
--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
This line left intentionally blank to confuse you. |
|
|
| Back to top |
|
 |
Darren Dunham *nix forums Guru
Joined: 22 Feb 2005
Posts: 1120
|
Posted: Wed Jun 21, 2006 3:13 am Post subject:
Re: multiple partitions on Sol10 zone
|
|
|
buckwheat_phd@yahoo.com wrote:
| Quote: | I'm sure there's a method for this - we have a sliced up partition
table on Sol10 like so:
/ - 10gb c0t0d0s0
/opt - 10gb c0t0d0s1
/var - 50gb c0t0d0s2
...
I have about 60 gb of free (unpartitioned space) on the drives.
Q: I need my new zones to utilize the same slices as above, NOT in a
single partition.
|
Do the filesystems have to be in slices? Could they be separately
mounted loopback filesystems?
| Quote: | So, can I create the partition on a small slice, then just modifiy the
partition table from the ZONE (after a zlogin) for use of only the
zone?
|
I don't know what you mean by "create the partition on a small slice".
The partition table is not in any slice, it's in block zero of the disk.
Normal zone access would prevent the zone from seeing a disk or slice,
so this wouldn't be possible.
| Quote: | What's the proceedure here? Anyone done this?
|
I'm pretty sure that's not the way you'd normally want to run zones, but
I'm not entirely certain I understand what you're trying to accomplish.
Can you provide a bit more detail about why the zone filesystems have to
be on slices? I'm hoping they could be on SVM metadevices instead.
| Quote: | To make matters worse, we'd also like to SVM the entire drive to a
mirror - all partitions.
|
That might not be too bad, but it's not going to be done within the
non-global zone. The zone has no authority to modify SVM.
--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. > |
|
| Back to top |
|
 |
buckwheat_phd@yahoo.com *nix forums beginner
Joined: 31 Jan 2006
Posts: 15
|
Posted: Wed Jun 21, 2006 2:11 am Post subject:
multiple partitions on Sol10 zone
|
|
|
I'm sure there's a method for this - we have a sliced up partition
table on Sol10 like so:
/ - 10gb c0t0d0s0
/opt - 10gb c0t0d0s1
/var - 50gb c0t0d0s2
....
I have about 60 gb of free (unpartitioned space) on the drives.
Q: I need my new zones to utilize the same slices as above, NOT in a
single partition.
So, can I create the partition on a small slice, then just modifiy the
partition table from the ZONE (after a zlogin) for use of only the
zone? What's the proceedure here? Anyone done this?
To make matters worse, we'd also like to SVM the entire drive to a
mirror - all partitions. |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|