Expand the current disc?
Hello everybody,
Researched in various places, but I have no courage to do yourself. We migrated our server recently. It was necessary to update the Centos. However, the new server was created with 100Gb. But the right is 160GB. Now the dataceter released the 160GB, but Linux did not recognize.
How do I expand the current disc? Without losing data? Below is some information on discs.
Tks
root@host [/usr/local/cpanel/logs]# fdisk -l
Disk /dev/sda: 171.8 GB, 171798691840 bytes
255 heads, 63 sectors/track, 20886 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003d32f
Device Boot Start End Blocks Id System
/dev/sda1 * 1 66 524288 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 66 327 2097152 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/sda3 327 833 4063232 82 Linux swap / Solaris
Partition 3 does not end on cylinder boundary.
/dev/sda4 833 13838 104463360 5 Extended
/dev/sda5 833 13838 104462336 83 Linux
root@host [/usr/local/cpanel/logs]# pvs
root@host [/usr/local/cpanel/logs]# vgs
No volume groups found
root@host [/usr/local/cpanel/logs]# lvs
No volume groups found
root@host [/usr/local/cpanel/logs]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 98G 85G 8.7G 91% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/sda1 504M 47M 432M 10% /boot
/dev/sda2 2.0G 80M 1.8G 5% /tmp
Tks
-
More information: root@host [~]# ls /sys/class/scsi_disk/ ./ ../ 2:0:0:0
This command will not fix the space?echo '1' > /sys/class/scsi_disk/2\:0\:0\:0/device/rescan
0 -
Tks Michael, I'll talk to the datacenter administrator. 0
Please sign in to leave a comment.
Comments
3 comments