LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 08-04-2005, 09:19 AM   #1
markraem
Member
 
Registered: Nov 2003
Posts: 82

Rep: Reputation: 15
how to add a slice in a working system ?


During the installation of the OS, I used slice 0 to 7 (except slice2 off course) and mounted some dirs to each slice.

I still have some free space left on the disk. Now I want to add a new slice.

I understood that 8 and 9 are reserved.

how can I create slice10 ? format does not allow to create slices. (only modify )
 
Old 08-04-2005, 04:12 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
man prtvtoc
man fmthard

and don't forget to backup before doing anything risky !
 
Old 08-09-2005, 07:27 AM   #3
ferdino
LQ Newbie
 
Registered: Aug 2005
Location: france
Posts: 5

Rep: Reputation: 0
partition solaris

solaris intel will have 10 partition starting from slice s0 to s9

we can do nothing with s8 and s9 as u said , olny we can use 7 partition as slice 2 refers to
whole disk

for example in my disk
cylinders
s0 - root -- 3 -510
s1 - swap 511 -917
s2 - refers to whole disk 0 - 9971
s3 - usr 918 - 3762
s4 - var 3763 - 4270
s5 unassigned -- probably i can use this space later
s6 unassigned - do -
s7 unassigned -do-

do format command , select ur disk and type partition and print

c ur slice 2 (identify cylinder range for eg: 0 - 9971) if any of the other slices have

end with 9971 cylinder range , for an example if u have used s6 or s7 for /export/home or opt
and ends with range 9971.
probably u can not create new slice as have already used that range , as only we can allocate space for unused cylinder range .

if u have available range , create partition using format and label it
and then construct file system using newfs and mount it under ur own directory
 
Old 08-09-2005, 12:07 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
solaris intel will have 10 partition starting from slice s0 to s9
This is not what I read on the fmthard manual page:
Code:
          partition
                 The partition  number.  Currently,  for  Solaris
                 SPARC,  a disk can have up to 8 partitions, 0-7.
                 Even though the partition field has 4 bits, only
                 3  bits  are currently used. For x86, all 4 bits
                 are used to  allow  slices  0-15.  Each  Solaris
                 fdisk partition can have up to 16 slices
Quote:
do format command , select ur disk and type partition and print
format has indeed this 10 partitions (slices) limit, fmthard doesn't seem to have it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Root slice in overcapacity Freezy Linux - General 1 07-07-2004 02:55 AM
How to change time slice of linux? zhu_liheng Programming 1 12-19-2003 03:52 AM
Resize slice for 8 to 9 Upgrade itsjustme Solaris / OpenSolaris 2 11-01-2003 06:27 AM
my RPM 4-slice toaster Independence Linux - General 5 10-30-2002 07:55 PM
Going to cut'n slice PocketLinux!!! Eits0 Linux - Distributions 1 05-16-2002 05:15 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 12:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration