server:hpe:raid
Table of Contents
Raiderweiterung
ESXi
RAID Erweitern und Logical Disk vergrößern
Voraussetzung: HPE Custom ESXi Image ab 6.0
/opt/smartstorageadmin/ssacli/bin/ssacli ctrl all show config #Gesamte Konfig anzeigen /opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 show detail #Konfig von Controller in Slot 0 /opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld 1 add drives=2I:1:5 #Platte Bay 5 zu vDisk 1 /opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld all show status /opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld 1 show /opt/smartstorageadmin/ssacli/bin/ssacli ctrl slot=0 ld 1 modify size=max forced #muss mit forced ausgeführt werden
https://kallesplayground.wordpress.com/useful-stuff/hp-smart-array-cli-commands-under-esxi/
esxcli storage core adapter rescan --all
Datastore-Partition erweitern
[root@localhost:~] vmkfstools -P /vmfs/volumes/datastore1/ VMFS-5.60 file system spanning 1 partitions. File system label (if any): datastore1 Mode: public Capacity 891742584832 (850432 file blocks * 1048576), 46912241664 (44739 blocks) avail, max supported file size 69201586814976 UUID: 5565abe4-01c934e4-3075-9c8e995cf9c2 Partitions spanned (on "lvm"): naa.600508b1001ce56fa87b49c15607756e:3 Is Native Snapshot Capable: YES [root@localhost:~] partedUtil get /vmfs/devices/disks/naa.600508b1001ce56fa87b49 c15607756e naa.600508b1001ce56fa87b49c15607756e naa.600508b1001ce56fa87b49c15607756e:6 naa.600508b1001ce56fa87b49c15607756e:1 naa.600508b1001ce56fa87b49c15607756e:7 naa.600508b1001ce56fa87b49c15607756e:2 naa.600508b1001ce56fa87b49c15607756e:8 naa.600508b1001ce56fa87b49c15607756e:3 naa.600508b1001ce56fa87b49c15607756e:9 naa.600508b1001ce56fa87b49c15607756e:5 [root@localhost:~] partedUtil get /vmfs/devices/disks/naa.600508b1001ce56fa87b49 c15607756e Error: The backup GPT table is not at the end of the disk, as it should be. This might mean that another operating system believes the disk is smaller. Fix, by moving the backup to the end (and removing the old backup)? This will also fix the last usable sector as per the new size. diskSize (2343486044) AlternateLBA (1757614683) LastUsableLBA (1757614650) Warning: Not all of the space available to /dev/disks/naa.600508b1001ce56fa87b49c15607756e appears to be used, you can fix the GPT to use all of the space (an extra 585871360 blocks) or continue with the current setting? This will also move the backup table at the end if is is not at the end already. diskSize (2343486044) AlternateLBA (1757614683) LastUsableLBA (1757614650) NewLastUsableLBA (2343486010) 145875 255 63 2343486044 1 64 8191 0 128 5 8224 520191 0 0 6 520224 1032191 0 0 7 1032224 1257471 0 0 8 1257504 1843199 0 0 9 1843200 7086079 0 0 2 7086080 15472639 0 0 3 15472640 1757614650 0 0 [root@localhost:~] partedUtil get /vmfs/devices/disks/naa.600508b1001ce56fa87b49 c15607756e naa.600508b1001ce56fa87b49c15607756e naa.600508b1001ce56fa87b49c15607756e:6 naa.600508b1001ce56fa87b49c15607756e:1 naa.600508b1001ce56fa87b49c15607756e:7 naa.600508b1001ce56fa87b49c15607756e:2 naa.600508b1001ce56fa87b49c15607756e:8 naa.600508b1001ce56fa87b49c15607756e:3 naa.600508b1001ce56fa87b49c15607756e:9 naa.600508b1001ce56fa87b49c15607756e:5 [root@localhost:~] partedUtil get /vmfs/devices/disks/naa.600508b1001ce56fa87b49 c15607756e:3 108443 255 63 1742142011 [root@localhost:~] partedUtil fixGpt /vmfs/devices/disks/naa.600508b1001ce56fa87 b49c15607756e FixGpt tries to fix any problems detected in GPT table. Please ensure that you do not run this on any RDM (Raw Device Mapping) disk. Are you sure you want to continue (Y/N): Y Error: The backup GPT table is not at the end of the disk, as it should be. This might mean that another operating system believes the disk is smaller. Fix, by moving the backup to the end (and removing the old backup)? This will also fix the last usable sector as per the new size. diskSize (2343486044) AlternateLBA (1757614683) LastUsableLBA (1757614650) Fix/Ignore/Cancel? Fix gpt 145875 255 63 2343486044 1 64 8191 C12A7328F81F11D2BA4B00A0C93EC93B systemPartition 128 5 8224 520191 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 0 6 520224 1032191 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 0 7 1032224 1257471 9D27538040AD11DBBF97000C2911D1B8 vmkDiagnostic 0 8 1257504 1843199 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 0 9 1843200 7086079 9D27538040AD11DBBF97000C2911D1B8 vmkDiagnostic 0 2 7086080 15472639 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 0 3 15472640 1757614650 AA31E02A400F11DB9590000C2911D1B8 vmfs 0 [root@localhost:~] partedUtil getUsableSectors /vmfs/devices/disks/naa.600508b10 01ce56fa87b49c15607756e 34 2343486010 [root@localhost:~] partedUtil resize /vmfs/devices/disks/naa.600508b1001ce56fa87 b49c15607756e 3 15472640 2343486010 [root@localhost:~] vmkfstools --growfs /vmfs/devices/disks/naa.600508b1001ce56fa 87b49c15607756e:3 /vmfs/devices/disks/naa.600508b1001ce56fa87b49c15607756e:3 [root@localhost:~] vmkfstools -V
server/hpe/raid.txt · Last modified: 2024/02/17 19:03 by 127.0.0.1