Using Sun Open Storage Array Software
One of our 4-disk Sun StorEDGE A1000 arrays had significant problems
after being abruptly powered down and suffering multiple disk failures.
According to system utilities, the array was only configured with a 3
cylinder, 10MB RAID 0 logical unit. In this example, I delete and
recreate the RAID logical unit.
1. Gather information about the RAID logical unit using various system commands.
# dmesg | grep -i storedge
Oct 11 17:49:07 hostname scsi: [ID 365881 kern.info] <Symbios-StorEDGEA1000-0301 cyl 3 alt 2 hd 64 sec 64>
# format
0. c1t5d0 <Symbios-StorEDGEA1000-0301 cyl 3 alt 2 hd 64 sec 64>
/pseudo/rdnexus@1/rdriver@5,0
Current partition table (original):
Total disk cylinders available: 3 + 2 (reserved cylinders)
Part Tag
Flag Cylinders
Size
Blocks
0 root
wm
0
0
(0/0/0) 0
1 swap
wu
0
0
(0/0/0) 0
2
backup wu 0 -
2 6.00MB
(3/0/0) 12288
3 unassigned
wm
0
0
(0/0/0) 0
4 unassigned
wm
0
0
(0/0/0) 0
5 unassigned
wm
0
0
(0/0/0) 0
6
usr wm 0 -
2 6.00MB
(3/0/0) 12288
7 unassigned
wm
0
0
(0/0/0) 0
# /usr/sbin/osa/drivutil -l raid_module
Logical Unit Information for raid_module
LUN
Group
Device
RAID
Capacity Status
Name
Level (MB)
0
1
c1t5d0
0
10 Optimal
# /usr/sbin/osa/drivutil -d raid_module
Drives in Group for raid_module
Group Drive List [Channel,Id]
Unassigned [1,1]; [2,1];
Group 1: [1,0]; [2,0];
drivutil succeeded!
2. Delete the logical unit.
# /usr/sbin/osa/raidutil -c c1t5d0 -D 0
LUNs found on c1t5d0.
LUN 0 RAID 0 10 MB
Deleting LUN 0.
Press Control C to abort.
LUNs successfully deleted
raidutil succeeded!
3. Create the new logical unit.
In this example, I create a Logical Unit Number (LUN) 0 comprising all
4 disks of the StorEDGE A1000 array in a RAID 5 configuration.
# /usr/sbin/osa/raidutil -c c1t5d0 -l 5 -n 0 -s 0 -g 10,20,11,21
No existing LUNs were found on c1t5d0.
Capacity available in drive group: 213153024 blocks (104078 MB).
Creating LUN 0
Registering new logical unit 0 with system.
Formatting logical unit 0 RAID 5 104078 MB
LUNs found on c1t5d0.
LUN 0 RAID 5 104078 MB
LUNs successfully created
raidutil succeeded!
4. Partition the logical unit as appropriate with format.
5. Create a file system on the logical unit.
# newfs /dev/rdsk/c1t5d0s0
Back
to brandonhutchinson.com.
Last modified: 10/11/2005