Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding a slice in Solaris 8

Status
Not open for further replies.

chippymike

Technical User
Apr 16, 2003
22
GB
Hi,

I'm trying to add a slice to a partition table in Solaris 8 in order to configure Disksuite but can't seem to save my changes as it says I am trying to write to a read only file system:-( I'm using the "format" command to make the changes.
Can anybody tell me how to avoid getting this error?
 
Sounds like your cylinders are overlapping for your new partition. When you modify the table make sure you pick a new slice, not one that already is being used by an existing file system. For instance, in the below example you would modify slice 3 (never mess with slice 2) and start the cylinders at 2886 and specify how big you want the slice to be. 4GB for instance. Then label the disk and use newfs to build your new file system. Mount it on a directory and away you go.


art Tag Flag Cylinders Size Blocks
0 root wm 0 - 2060 10.00GB (2061/0/0) 20972736
1 swap wu 2061 - 2885 4.00GB (825/0/0) 8395200
 
Thanks for your help! It turned out to be a problem with the /etc/format.dat file. I had to edit it manually as I had 2 different entries for the same partition table.

cheers!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top