niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
· nixdoc.net · man pages · Linux HOWTOs · FreeBSD Tips · Forums
navigation Forum index » *nix » Solaris
multiple partitions on Sol10 zone
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
Darren Dunham
*nix forums Guru


Joined: 22 Feb 2005
Posts: 1120

PostPosted: Thu Jun 22, 2006 12:41 am    Post subject: Re: multiple partitions on Sol10 zone Reply with quote

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

PostPosted: Wed Jun 21, 2006 5:14 am    Post subject: Re: multiple partitions on Sol10 zone Reply with quote

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

PostPosted: Wed Jun 21, 2006 3:40 am    Post subject: Re: multiple partitions on Sol10 zone Reply with quote

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

PostPosted: Wed Jun 21, 2006 3:13 am    Post subject: Re: multiple partitions on Sol10 zone Reply with quote

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

PostPosted: Wed Jun 21, 2006 2:11 am    Post subject: multiple partitions on Sol10 zone Reply with 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.

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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Wed Apr 23, 2014 7:31 pm | All times are GMT
navigation Forum index » *nix » Solaris
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Configure Postfix to relay mail to multiple internal servers tristopherr Postfix 0 Fri Aug 06, 2010 7:03 pm
No new posts Postfix Multiple Relay Hosts? blaze Postfix 0 Wed Jun 25, 2008 5:02 am
No new posts Deliver msg to multiple hosts jures Postfix 2 Fri Feb 29, 2008 4:21 pm
No new posts Multiple Inheritance colint C++ 5 Thu Jul 20, 2006 2:29 pm
No new posts Multiple consumers scenario mrs shell 7 Thu Jul 20, 2006 7:37 am

Copyright © 2004-2005 DeniX Solutions SRL
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum |  email marketing service
 
Privacy Policy
[ Time: 0.0532s ][ Queries: 20 (0.0190s) ][ GZIP on - Debug on ]