I installed Solaris 10 x86 in a virtual machine (VMware Workstation). Now I want to add a second, 8 GB, hard drive to the VM. I added the "hardware", and now I'm at the point where I've got the disk formatted and partitioned, or almost. My question is about "slices". I'm using UFS, and I just want to create a filesystem for my own use. So which slice (0-9) should I use for that? I'm guessing probably not 0-2, but would any of the rest be preferable? I intend to use the whole disk for one filesystem.
Kevin
On Wed, 9 Feb 2011, Kevin McGregor wrote:
I installed Solaris 10 x86 in a virtual machine (VMware Workstation). Now I want to add a second, 8 GB, hard drive to the VM. I added the "hardware", and now I'm at the point where I've got the disk formatted and partitioned, or almost. My question is about "slices". I'm using UFS, and I just want to create a filesystem for my own use. So which slice (0-9) should I use for that? I'm guessing probably not 0-2, but would any of the rest be preferable? I intend to use the whole disk for one filesystem.
Kevin
0 is often used in that case. It is normally the root slice so using in the case of a whole disk makes sense.
1 is usually swap so it is sorta dangerous to use. Someone might think it is swap and overwrite your data by accident.
2 always represents the whole disk, for backups, so do use it although it might work in this case.
Everything but 2 is just by convention so it's really up to you if you are going to put the whole disk in one slice.
-Daryl
Slight correction below...
On Thu, 10 Feb 2011, Daryl F wrote:
On Wed, 9 Feb 2011, Kevin McGregor wrote:
I installed Solaris 10 x86 in a virtual machine (VMware Workstation). Now I want to add a second, 8 GB, hard drive to the VM. I added the "hardware", and now I'm at the point where I've got the disk formatted and partitioned, or almost. My question is about "slices". I'm using UFS, and I just want to create a filesystem for my own use. So which slice (0-9) should I use for that? I'm guessing probably not 0-2, but would any of the rest be preferable? I intend to use the whole disk for one filesystem.
Kevin
0 is often used in that case. It is normally the root slice so using in the case of a whole disk makes sense.
1 is usually swap so it is sorta dangerous to use. Someone might think it is swap and overwrite your data by accident.
2 always represents the whole disk, for backups, so do use it although it
^^ do not
might work in this case.
Everything but 2 is just by convention so it's really up to you if you are going to put the whole disk in one slice.
-Daryl _______________________________________________ Roundtable mailing list Roundtable@muug.mb.ca http://www.muug.mb.ca/mailman/listinfo/roundtable
-Daryl
On 2011-02-10 20:10, Daryl F wrote:
Slight correction below...
On Thu, 10 Feb 2011, Daryl F wrote:
...
2 always represents the whole disk, for backups, so do use it although it
^^ do not
might work in this case.
I would think that, since he plans to use the whole disk as one slice, it would be entirely appropriate to use slice 2.
Everything but 2 is just by convention so it's really up to you if you are going to put the whole disk in one slice.
And certainly, any slice number above 2 is fairly loosely defined, and could be used for pretty much any purpose.
It's been a _long_ time since I did any manual formatting of disks under Solaris, so take what I say with a grain of salt. (Particularly if you'll be using ZFS, which might have its own conventions.)
I was disappointed to learn that all of the Sun systems I'll be dealing with (Water & Waste) have their volumes formatted as UFS.
Thanks for the info. It confirms what I'd surmised.
Kevin
On Fri, Feb 11, 2011 at 11:34 AM, Gilbert E. Detillieux < gedetil@cs.umanitoba.ca> wrote:
On 2011-02-10 20:10, Daryl F wrote:
Slight correction below...
On Thu, 10 Feb 2011, Daryl F wrote:
...
2 always represents the whole disk, for backups, so do use it although
it
^^ do not
might work in this case.
I would think that, since he plans to use the whole disk as one slice, it would be entirely appropriate to use slice 2.
Everything but 2 is just by convention so it's really up to you if you
are
going to put the whole disk in one slice.
And certainly, any slice number above 2 is fairly loosely defined, and could be used for pretty much any purpose.
It's been a _long_ time since I did any manual formatting of disks under Solaris, so take what I say with a grain of salt. (Particularly if you'll be using ZFS, which might have its own conventions.)
-- Gilbert E. Detillieux E-mail: gedetil@muug.mb.ca Manitoba UNIX User Group Web: http://www.muug.mb.ca/ PO Box 130 St-Boniface Phone: (204)474-8161 Winnipeg MB CANADA R2H 3B4 Fax: (204)474-7609 _______________________________________________ Roundtable mailing list Roundtable@muug.mb.ca http://www.muug.mb.ca/mailman/listinfo/roundtable