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?):
When I launch parted and use the print command, I see the following output (these are partitions if I understand this correctly?):
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?
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?):
Code:
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?):
Code:
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?