Minggu, 24 Maret 2019

Growfs solaris 10

Extend Volume / Lun di STK 7420,
Storage team extended volume 600144F09227C6E30000508FD88A000A,
Previous size 64GB, extended 128GB


1. umount , kalau tidak di umount nanti minta fsck
2. format, choose disk
3. choose type, choose Auto configure
5. and then label it,
6. mounted
7. and perform growfs

detail below
=============

root@gzgfmscimb02 # format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
0. c0t5000CCA03C092CCCd0 solaris
/scsi_vhci/disk@g5000cca03c092ccc
/dev/chassis//SYS/SASBP/HDD0/disk
1. c0t5000CCA03C08973Cd0 solaris
/scsi_vhci/disk@g5000cca03c08973c
/dev/chassis//SYS/SASBP/HDD1/disk
2. c0t5000CCA03C08B55Cd0
/scsi_vhci/disk@g5000cca03c08b55c
/dev/chassis//SYS/SASBP/HDD2/disk
3. c0t5000CCA03C080F5Cd0
/scsi_vhci/disk@g5000cca03c080f5c
/dev/chassis//SYS/SASBP/HDD3/disk
4. c0t600144F09227C6E3000050B8C5D40016d0
/scsi_vhci/ssd@g600144f09227c6e3000050b8c5d40016
5. c0t600144F09227C6E30000508FD7BD0009d0 db2c1v1
/scsi_vhci/ssd@g600144f09227c6e30000508fd7bd0009
6. c0t600144F09227C6E30000508FD88A000Ad0 db2c1v2
/scsi_vhci/ssd@g600144f09227c6e30000508fd88a000a
7. c0t600144F09227C6E30000508FD6060003d0 ap2c1v1
/scsi_vhci/ssd@g600144f09227c6e30000508fd6060003

truncated

19. c0t600144F09227C6E30000508FDB820013d0 db3c2v5
/scsi_vhci/ssd@g600144f09227c6e30000508fdb820013
20. c0t600144F09227C6E30000508FDBA10014d0 db3c2v6
/scsi_vhci/ssd@g600144f09227c6e30000508fdba10014
Specify disk (enter its number): 6
selecting c0t600144F09227C6E30000508FD88A000Ad0: db2c1v2
[disk formatted]


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
volname - set 8-character volume name
! - execute , then return
quit
format> type


AVAILABLE DRIVE TYPES:
0. Auto configure
1. Quantum ProDrive 80S
2. Quantum ProDrive 105S
3. CDC Wren IV 94171-344
4. SUN0104
5. SUN0207
6. SUN0327
7. SUN0340
8. SUN0424
9. SUN0535
10. SUN0669
11. SUN1.0G
12. SUN1.05
13. SUN1.3G
14. SUN2.1G
15. SUN2.9G
16. Zip 100
17. Zip 250
18. Peerless 10GB
19. SUN600G
20. SUN-ZFS Storage 7420-1.0
21. SUN-ZFS Storage 7420-1.0
22. SUN-ZFS Storage 7420-1.0
23. SUN-ZFS Storage 7420-1.0
24. SUN-ZFS Storage 7420-1.0
25. other
Specify disk type (enter its number)[23]: 0
c0t600144F09227C6E30000508FD88A000Ad0: configured with capacity of 127.92GB

selecting c0t600144F09227C6E30000508FD88A000Ad0: db2c1v2
[disk formatted]
format> verirfy

Primary label contents:

Volume name = < db2c1v2>
ascii name =
pcyl = 4160
ncyl = 4158
acyl = 2
nhead = 254
nsect = 254
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 4 157.51MB (5/0/0) 322580
1 swap wu 5 - 9 157.51MB (5/0/0) 322580
2 backup wu 0 - 4157 127.92GB (4158/0/0) 268257528
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 10 - 4157 127.61GB (4148/0/0) 267612368
7 unassigned wm 0 0 (0/0/0) 0

format> label
Ready to label disk, continue? y

format> verify

Primary label contents:

Volume name = < db2c1v2>
ascii name =
pcyl = 4160
ncyl = 4158
acyl = 2
nhead = 254
nsect = 254
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 4 157.51MB (5/0/0) 322580
1 swap wu 5 - 9 157.51MB (5/0/0) 322580
2 backup wu 0 - 4157 127.92GB (4158/0/0) 268257528
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 10 - 4157 127.61GB (4148/0/0) 267612368
7 unassigned wm 0 0 (0/0/0) 0

format>


login to host
==============

root@dbgfmscimb02:~# mount /dev/dsk/c2d2s2 /u02
root@dbgfmscimb02:~# df -h
Filesystem Size Used Available Capacity Mounted on
rpool/ROOT/solaris 270G 4.9G 108G 5% /
/devices 0K 0K 0K 0% /devices
/dev 0K 0K 0K 0% /dev
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 16G 2.5M 16G 1% /system/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
fd 0K 0K 0K 0% /dev/fd
rpool/ROOT/solaris/var
270G 250M 108G 1% /var
swap 16G 0K 16G 0% /tmp
rpool/export 270G 32K 108G 1% /export
rpool/export/home 270G 38K 108G 1% /export/home
rpool/export/home/admin
270G 134G 108G 56% /export/home/admin
rpool/export/home/appldev1
270G 38K 108G 1% /export/home/appldev1
rpool/export/home/appldev2
270G 40K 108G 1% /export/home/appldev2
rpool/export/home/orcldev1
270G 2.2M 108G 1% /export/home/orcldev1
rpool/export/home/orcldev2
270G 45K 108G 1% /export/home/orcldev2
rpool/export/home/orclsit
270G 37K 108G 1% /export/home/orclsit
rpool 270G 73K 108G 1% /rpool
/dev/dsk/c2d1s2 378G 127G 249G 34% /u01
/dev/dsk/c2d2s2 63G 44G 19G 71% /u02


root@dbgfmscimb02:~# growfs -M /u01 /dev/rdsk/c2d2s2
Warning: 1800 sector(s) in last cylinder unallocated
/dev/rdsk/c2d2s2: 268257528 sectors in 43662 cylinders of 48 tracks, 128 sectors
130985.1MB in 2729 cyl groups (16 c/g, 48.00MB/g, 5824 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 98464, 196896, 295328, 393760, 492192, 590624, 689056, 787488, 885920,
Initializing cylinder groups:
......................................................
super-block backups for last 10 cylinder groups at:
267292576, 267391008, 267489440, 267587872, 267686304, 267784736, 267883168,
267981600, 268080032, 268178464
root@dbgfmscimb02:~# df -h
Filesystem Size Used Available Capacity Mounted on
rpool/ROOT/solaris 270G 4.9G 108G 5% /
/devices 0K 0K 0K 0% /devices
/dev 0K 0K 0K 0% /dev
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 16G 2.5M 16G 1% /system/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
fd 0K 0K 0K 0% /dev/fd
rpool/ROOT/solaris/var
270G 250M 108G 1% /var
swap 16G 0K 16G 0% /tmp
rpool/export 270G 32K 108G 1% /export
rpool/export/home 270G 38K 108G 1% /export/home
rpool/export/home/admin
270G 134G 108G 56% /export/home/admin
rpool/export/home/appldev1
270G 38K 108G 1% /export/home/appldev1
rpool/export/home/appldev2
270G 40K 108G 1% /export/home/appldev2
rpool/export/home/orcldev1
270G 2.2M 108G 1% /export/home/orcldev1
rpool/export/home/orcldev2
270G 45K 108G 1% /export/home/orcldev2
rpool/export/home/orclsit
270G 37K 108G 1% /export/home/orclsit
rpool 270G 73K 108G 1% /rpool
/dev/dsk/c2d1s2 378G 127G 249G 34% /u01
/dev/dsk/c2d2s2 126G 44G 82G 35% /u02
root@dbgfmscimb02:~# exit
logout

reference link :
http://www.tofu.org/drupal/node/77

Tidak ada komentar:

Posting Komentar