New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Kimsufi KS1 - 2TB HDD - How to resize partitions?
Hello.
I am using a Kimsufi KS1 and some days ago, the HDD was replaced with a new one of 2TB (KS1 comes with 500 GB HDD).
With the Kimsufi panel, I can only do partitions on the disk up to the 500 GB space permitted.
How could I use the free space remaining on the disk?
OS: Centos 7
Filesystem: Btrfs
Partitions:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.8T 0 disk
├─sda1 8:1 0 499.5G 0 part /
└─sda2 8:2 0 511M 0 part [SWAP]
Disk info:
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0xe60c9ac5
Device Boot Start End Blocks Id System
/dev/sda1 * 4096 1047529471 523762688 83 Linux
/dev/sda2 1047529472 1048575999 523264 82 Linux swap / Solaris
More info:
Model: ATA HGST HUS726020AL (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 2097kB 536GB 536GB primary btrfs boot
2 536GB 537GB 536MB primary linux-swap(v1)
Thanks!!
Comments
Use fdisk/cfdisk and create new partitions. Format them, and mount.
Hi @WSS,
I would like to resize the root (sda1) partition.
Thanks.
Boot into the rescue mode and do just that, then.
Any guidance, please?
Thanks.
http://bfy.tw/EUoG
Obviously, I tried to look for info before create the thread.
I'm looking for more specific info about how to do it from the Kimsufi rescue mode.
The tools are pretty much exactly the same. I'd delete your swap partition, resize it to 1.92TB, then recreate your swap partition.
Ok, so, I'm going to try with:
btrfs filesystem resize +1.5g /sda1
My actual problem is this (readed when looking for info):
The commands listed resize only the filesystem, not the partition. That's why they work on a mounted system.
I don't know if I could resize the partition when it's mounted or I have to dismount it and do it from rescue mode.
Again., you're probably going to want to delete your swap partition. It starts right at the end of your 500GB partition.
Ops, I didn't think in this...
Yup.