Tags:
view all tags
<!-- keep this as a security measure: #uncomment if the subject should only be modifiable by the listed groups # * Set ALLOWTOPICCHANGE = Main.TWikiAdminGroup,Main.CMSAdminGroup # * Set ALLOWTOPICRENAME = Main.TWikiAdminGroup,Main.CMSAdminGroup #uncomment this if you want the page only be viewable by the listed groups # * Set ALLOWTOPICVIEW = Main.TWikiAdminGroup,Main.CMSAdminGroup,Main.CMSAdminReaderGroup --> ---+ Solaris UFS partitioning for the X4500 My first try at getting a Solaris partitioning (according to [[http://www.gravity.phy.syr.edu/dokuwiki/doku.php?id=sugar:solaris_installation][this howto]]): <pre> Customize Disk: c6t0d0 Boot Disk: c6t0d0 Entry: Recommended: Cyls Minimum: Cyls ================================================================================ Slice Mount Point Size (Cyls) Start Cyl End Cyl 0 / 59793 1005 60797 1 swap 1000 1 1000 2 overlap 60798 0 60797 (look at comment below) 3 2 1001 1002 (for meta DB) 4 2 1003 1004 (for meta DB) 5 0 0 0 6 0 0 0 7 0 0 0 ================================================================================ Solaris Partition Size: 60800 Cyls OS Overhead: 3 Cyls Usable Capacity: 60797 Cyls Allocated: 60797 Cyls Free: 0 Cyls </pre> *overlap*: This partition or _Solaris slice_ is some Solaris internal thing and covers the whole of the disk. The other partitions seem to live inside it. Just ignore it and leave the values as they are. In MB this amounts to: <pre> Slice Mount Point Size (MB) 0 / 469030 1 swap 7844 2 overlap 476913 3 15 4 15 </pre> ---++ Setting up RAID mirroring We'll set up the RAID mirror on the second disk that can be used as a boot disk. Using the =hd= command, we can identify this disk as =c6t4=. The =prtvtoc= command can be used to print the partition table of a disk (Note that for the disk name, the special slice s2 is used, i.e. the one named _overlap_ that contains all the others): <pre> prtvtoc /dev/dsk/c6t0d0s2 * /dev/dsk/c6t0d0s2 partition map * * Dimensions: * 512 bytes/sector * 63 sectors/track * 255 tracks/cylinder * 16065 sectors/cylinder * 60800 cylinders * 60798 accessible cylinders * * Flags: * 1: unmountable * 10: read-only * * First Sector Last * Partition Tag Flags Sector Count Sector Mount Directory 0 2 00 16145325 960574545 976719869 / 1 3 01 16065 16065000 16081064 2 5 00 0 976719870 976719869 3 0 00 16081065 32130 16113194 4 0 00 16113195 32130 16145324 8 1 01 0 16065 16064 </pre> The information from the =prtvtoc= output can be piped into the =fmthard= command to create the same layout on another disk. We use this for the intended mirror disk. <pre> prtvtoc /dev/dsk/c6t0d0s2 | fmthard -s - /dev/rdsk/c6t4d0s2 fmthard: New volume table of contents now in place. </pre> Initialize the Solaris RAID metadata table on the unassigned slices <pre> metadb -af -c 2 /dev/dsk/c6t0d0s3 /dev/dsk/c6t0d0s4 metadb -af -c 2 /dev/dsk/c6t4d0s3 /dev/dsk/c6t4d0s4 </pre> The =metadb= command should report the following <pre> metadb flags first blk block count a u 16 8192 /dev/dsk/c6t0d0s3 a u 8208 8192 /dev/dsk/c6t0d0s3 a u 16 8192 /dev/dsk/c6t0d0s4 a u 8208 8192 /dev/dsk/c6t0d0s4 a u 16 8192 /dev/dsk/c6t4d0s3 a u 8208 8192 /dev/dsk/c6t4d0s3 a u 16 8192 /dev/dsk/c6t4d0s4 a u 8208 8192 /dev/dsk/c6t4d0s4 </pre> ---++ Further Information * [[http://spiralbound.net/2004/06/11/solaris-disk-partition-layout-mirroring-scripts][another generic howto]] -- Main.DerekFeichtinger - 08 Jan 2009
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r7
|
r5
<
r4
<
r3
<
r2
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r3 - 2009-01-09
-
DerekFeichtinger
CmsTier3
Log In
CmsTier3 Web
Create New Topic
Index
Search
Changes
Notifications
Statistics
Preferences
User Pages
Main Page
Policies
Monitoring Storage Space
Monitoring Slurm Usage
Physics Groups
Steering Board Meetings
Admin Pages
AdminArea
Cluster Specs
Home
Site map
CmsTier3 web
LCGTier2 web
PhaseC web
Main web
Sandbox web
TWiki web
CmsTier3 Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Edit
Attach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback