Friday, April 01, 2005

Creating a New File System on Solaris

Type 'format' at the prompt
$ format
You will see a list of disks, numbered on the left. Enter the disk number, for example 0,1, or 2.

type "partition"
type "print"
This will show you the partition on the physical disk. Note the slice number (partition) you want to create the fs on (slice 0, 1 ,etc).

Now you should know the partition that you want to create a filesystem on, like "c1t1d0s0"

Type "quit" twice.

Use newfs to create a ufs file system.

$ newfs /dev/rdsk/c1t1d0s0

Note:
rdsk is raw access
dsk is block access

No comments:

Labels

Blog Archive

Contributors