On my CentOS machine I have to create a new partition/file system, not sure which one I need to be honest I am a little bit confused about it all. If someone could explain it and walk me through it that would be great.
The current size of my Harddisk is 190GB, but I am only using 100GB of that.
When I do df -H I get the following output (these are file systems if my understanding is correct?):
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 94G 65G 25G 73% /
tmpfs 938M 1.1M 937M 1% /tmp
tmpfs 1.0G 18M 1007M 2% /var/log/httpd
When I launch parted and use the print command, I see the following output (these are partitions if I understand this correctly?):
GNU Parted 2.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA QEMU HARDDISK (scsi)
Disk /dev/sda: 193GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 65.5kB 193GB 193GB primary ext3 boot
How can I create a new file system to fill up the remaining space in the partition? I would like to mount this file system on a directory "/home/admin/admin_backups/", so that I can store all my backups on this new file system.
Alternatively it would also be a solution to resize the current file system, what are the advantages/disadvantages of using one or the other approach?
df, which reports the partition as 94GB in size, andparted, which says it's 193GB. Did you take this output at the same point in time?lsblkto get a better glimpse of the disk usage.