You are not logged in.
Pages: 1
So I installed a new system on a new rig last night. Today, I noticed that the /var partition is showing a much smaller size, than what it actually is.
"df -h /var" shows:
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 3,0G 266M 2,6G 10% /var
But "fdisk -l /dev/sda3" as root gives me:
Disk /dev/sda3: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders, total 41943040 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
The 21 gb shown by fdisk is the correct size of the partition, so why on earth will arch only see 3 of those when mounting it as /var?
The relevant fstab entry looks proper to me:
UUID=2a2bb9dd-054c-4a04-810b-9bae86c8ca8f /var ext4 defaults 0 1
And to double check that uuid is correct and pointing to /dev/sda3, I run "ls -l /dev/disk/by-uuid" and get:
...
lrwxrwxrwx 1 root root 10 May 1 11:41 2a2bb9dd-054c-4a04-810b-9bae86c8ca8f -> ../../sda3
...
Any clue to what is happening here? Help would be much appreciated.
Offline
Maybe the files system was not created properly. Try backup your files and reformat or resize with resize2fs.
Just another drug abuser..
Offline
Pages: 1