I have some strange partition /dev/sda2 of 6.5G size on my HiveOS:
root@rig0:/# cat /proc/partitions
major minor #blocks name
8 0 117219767 sda
8 1 20480 sda1
8 2 7323648 sda2
root@rig0:/# df -h
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 383M 44M 340M 12% /run
/dev/sda2 6.8G 6.5G 0 100% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
tmpfs 100M 16K 100M 1% /tmp
tmpfs 1.9G 0 1.9G 0% /var/tmp
tmpfs 1.9G 30M 1.9G 2% /var/log
tmpfs 1.9G 0 1.9G 0% /var/log/journal
tmpfs 1.9G 0 1.9G 0% /var/log/apt
/dev/sda1 20M 5.7M 15M 29% /hive-config
while SSD hard drive is of 120G size.
How to resize it? Is it a right way to follow the steps described in this post?
Should I enter the recovery mode?
I was able to try this, for example:
root@rig0:/# parted -l
Model: ATA KINGSTON SA400S3 (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 22.0MB 21.0MB primary ntfs
2 22.0MB 7521MB 7499MB primary ext4 boot
Why is the first partition type NTFS?