I bought a new 500 GIG harddrive for my server and installed it, formatted it an mounted it at /img1. My script now saves all image data to /img1
...I think...
You see, it now says the harddrive is 100% full.
How can I confirm that I did it correctly? Somehow I think I have not mounted the /img1 folder to the 500gig harddrive. Somehow I suspect the /img1 folder is really on the main 160GB harddrive and that the new 500G harddrive is not being used.
How can I confirm that the /img1 folder is really my new 500 gig harddrive and not simply a folder on the old drive?
Code:
fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 60801 488384001 83 Linux
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104391 83 Linux
/dev/sdb2 14 2624 20972857+ 83 Linux
/dev/sdb3 2625 4582 15727635 83 Linux
/dev/sdb4 4583 19457 119483437+ 5 Extended
/dev/sdb5 4583 4713 1052226 82 Linux swap
/dev/sdb6 4714 4844 1052226 83 Linux
/dev/sdb7 4845 19457 117378891 83 Linux
Code:
du --max-depth 1
16828 ./sbin
16 ./lost+found
8 ./misc
299480 ./root
0 ./sys
12736 ./tmp
10429532 ./var
3945384 ./usr
18020 ./etc
920885 ./proc
4346884 ./backup
8068 ./scripts
8 ./selinux
152 ./dev
8 ./opt
21593880 ./home
82526980 ./img1 <-- this is the folder in question
8 ./media
8 ./initrd
55576 ./lib
5772 ./bin
8 ./mnt
8 ./srv
5293 ./boot
124185642 .
PS - I am using CPanel, and CPanel shows the option under "Main >> Disk Drives >> Format/Mount a new Hard Drive"
I really really want to click the button to [Partition,Format and Mount], but I think I already did this when I mounted the drive to /img1. I obviously don't want to lose my data.
Code:
Main >> Disk Drives >> Format/Mount a new Hard Drive
Disk Setup
Found Disk: sda [Partition,Format and Mount] ALL DATA WILL BE LOST