SVM FS Expansion_
SVM FS Expansion_
=================
root@ldappro4 # df -h /du_ldappro4
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d300 2.0T 2.0T 1003M 100% /du_ldappro4
root@ldappro4 #
# cfgadm -al
# devfsadm
Pseudo name=emcpower78a
Symmetrix ID=000297000166
Logical device ID=0062
Device WWN=60000970000297000166533030303632
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
3102 pci@302/pci@2/SUNW,qlc@0,1/fp@0,0 c26t5000097568029846d90s0 FA 2d:06 active
alive 0 0
3102 pci@302/pci@2/SUNW,qlc@0,1/fp@0,0 c26t5000097568029805d90s0 FA 1d:05 active
alive 0 0
3100 pci@302/pci@2/SUNW,qlc@0/fp@0,0 c25t5000097568029806d90s0 FA 1d:06 active
alive 0 0
3100 pci@302/pci@2/SUNW,qlc@0/fp@0,0 c25t5000097568029845d90s0 FA 2d:05 active
alive 0 0
3098 pci@303/pci@2/SUNW,qlc@0,1/fp@0,0 c24t5000097568029805d90s0 FA 1d:05 active
alive 0 0
3098 pci@303/pci@2/SUNW,qlc@0,1/fp@0,0 c24t5000097568029846d90s0 FA 2d:06 active
alive 0 0
3096 pci@303/pci@2/SUNW,qlc@0/fp@0,0 c23t5000097568029806d90s0 FA 1d:06 active
alive 0 0
3096 pci@303/pci@2/SUNW,qlc@0/fp@0,0 c23t5000097568029845d90s0 FA 2d:05 active
alive 0 0
3078 pci@306/pci@1/SUNW,qlc@0,1/fp@0,0 c22t5000097568029846d90s0 FA 2d:06 active
alive 0 0
3078 pci@306/pci@1/SUNW,qlc@0,1/fp@0,0 c22t5000097568029805d90s0 FA 1d:05 active
alive 0 0
3076 pci@306/pci@1/SUNW,qlc@0/fp@0,0 c21t5000097568029806d90s0 FA 1d:06 active
alive 0 0
3076 pci@306/pci@1/SUNW,qlc@0/fp@0,0 c21t5000097568029845d90s0 FA 2d:05 active
alive 0 0
3074 pci@300/pci@2/SUNW,qlc@0,1/fp@0,0 c20t5000097568029805d90s0 FA 1d:05 active
alive 0 0
3074 pci@300/pci@2/SUNW,qlc@0,1/fp@0,0 c20t5000097568029846d90s0 FA 2d:06 active
alive 0 0
3072 pci@300/pci@2/SUNW,qlc@0/fp@0,0 c10t5000097568029845d90s0 FA 2d:05 active
alive 0 0
3072 pci@300/pci@2/SUNW,qlc@0/fp@0,0 c10t5000097568029806d90s0 FA 1d:06 active
alive 0 0
The quickest way to determine from Solaris if the disk is EFI/GPT labelled is to
check the partitions on the disk with Solaris format utility, an EFI/GPT labeled
disk will have partition 8 while an SMI labeled will have partition 7.
The issue with EFI labeled disk is that it could not be configured as a bootable
device on SPARC systems. This had not been a major limitation because the largest
bootable internal disk that is qualified on a SPARC T5 is 600GB in capacity.
System Firmware 8.4+ (SPARC T4) and 9.1+ (SPARC T5) removes this EFI/GPT booting
limitation.
Disk Relabeling
================
The label on the physical disk may be changed by doing the following.
WARNING: Deleting the disk label and relabeling the disk will destroy ALL DATA on
the disk.
STEP 1: OPTIONAL
Example
STEP 2: Relabel the disk with the command "format -e cXt4XdX "
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show disk ID
scsi - independent SCSI mode selects
cache - enable, disable or query SCSI disk cache
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> l
[0] SMI Label
[1] EFI Label
Specify Label type[0]: 1
Warning: This disk has an SMI label. Changing to EFI label will erase all
current partitions.
Continue? y
format> p
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
8 - change '8' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition> p
Current partition table (default):
Total disk sectors available: 524270269 + 16384 (reserved sectors)
partition> l
[0] SMI Label
[1] EFI Label
Specify Label type[1]:
Ready to label disk, continue? y
partition> q
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
inquiry - show disk ID
scsi - independent SCSI mode selects
cache - enable, disable or query SCSI disk cache
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> p
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
8 - change '8' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition> p
Current partition table (default):
Total disk sectors available: 524270269 + 16384 (reserved sectors)
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
inquiry - show disk ID
scsi - independent SCSI mode selects
cache - enable, disable or query SCSI disk cache
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format>
format> q
root@meyldmlpsrv16:~#
root@meyldmlpsrv16:~#
root@meyldmlpsrv16:~#
root@meyldmlpsrv16:~# ldm ls-services | grep emcpower134c ##Checking old device
dunew_ldappro4_01A6 /dev/dsk/emcpower134c
root@meyldmlpsrv16:~#
root@meyldmlpsrv16:~# ldm add-vdsdev /dev/dsk/emcpower78c
du_ldappro4_ldappro4_0062@primary-vds0
du_ldappro4_ldappro4_0062
/dev/dsk/emcpower78c
root@meyldmlpsrv16:~#
root@meyldmlpsrv16:~#
root@meyldmlpsrv16:~# ls -ld /dev/dsk/emcpower78c
lrwxrwxrwx 1 root root 34 Nov 29 17:41 /dev/dsk/emcpower78c -
> ../../devices/pseudo/emcp@78:c,blk
root@meyldmlpsrv16:~#
root@meyldmlpsrv16:~#
root@meyldmlpsrv16:~# ldm add-vdisk id=14 du_ldappro4
du_ldappro4_ldappro4_0062@primary-vds0 ldappro4
root@meyldmlpsrv16:~#
root@meyldmlpsrv16:~#
root@meyldmlpsrv16:~# ldm add-spconfig config_29112023
root@meyldmlpsrv16:~#
root@meyldmlpsrv16:~# ldm ls-spconfig
factory-default
config1
config_29112023 [current]
root@ldappro4 #
root@ldappro4 # echo | format
Searching for disks...done
root@ldappro4 # df -h /du_ldappro4
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d300 2.0T 2.0T 1003M 100% /du_ldappro4
root@ldappro4 #
root@ldappro4 # metastat d300
d300: Concat/Stripe
Size: 4294934528 blocks (2.0 TB)
Stripe 0:
Device Start Block Dbase Reloc
c0d13s0 0 No No