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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filesystems creation on Solaris 10 x86

Status
Not open for further replies.

djessi

IS-IT--Management
Dec 29, 2006
93
CM
Hi All,

I am not expert in Solaris, I just want to add an external
disk (via San) to a Solaris 10 x86 system.

When I execute #format, have the following :
0) c1t0d0 ....
2) c4t60060160D9E01D009AAB136E0F54DE11d0
/Scsi_uhci/disk@g60060160d9ede11

When I choose number 2, the very disk, I have the following :
Selecting c4t60060160D9E01D009AAB136E0F54DE11d0
[disk formatted]
/dev/dsk/c4t60060160D9E01D009AAB136E0F54DE11d0s2
is part of SVM volme stripped : d7
Please see metaclear.

Then I execute "verify" at the format Promp and got :

Part Tag Flag Cylinder Size
0 Unassigned wm 0 0
1 Unassigned wm 0 0
2 Backup wu 0-17442 133.62Gb
3 Unassigned wm 0 0
4 Unassigned wm 0 0
5 Unassigned wm 0 0
6 Unassigned wm 0 0
7 Unassigned wm 0 0
8 Boot wu 0 7.84Mb
9 Unassigned wm 0 0

My problem is to create 2 partitions, one of 70Gb and the
other one is the rest of the disk, then create filesystems on
them, how to proceed.

Thanks
Djessi
 
The messages/warnings about SVM (Solaris Volume Manager) are saying that the disk (or LUN from the SAN) is (or has been) part of a mirror called d7. It is suggesting you clear this with the metaclear command. Before progressing I would carefully check out the configuration in case the 'zoning' that presented the LUN from the SAN is incorrect (and it can 'see' a disk from another system's mirrors - you wouldn't want to damage that!).

Once you are sure it is safe to proceed, use the format command to make a new 'partition table', then create filesystems on the partitions with newfs, create a mount point (with mkdir) and mount the filesystem (with mount). See the man pages for command explanation and how to use paramaters and qualifiers.


I hope that helps.

Mike
 
Mike has given you some good advice with regards checking carefully.
I would add that if you intend on making two large partitions that you look at ZFS instead of UFS.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top