Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i just put two old hard drives back in my linux box i formated them with fdisk so each only had one partition that took up the whole disk.
then i made the partitions ext3 with mkfs.ext3
now when i check the usage with df -h -T
/dev/hdc1 ext3 37G 177M 35G 1% /mnt/hdc
/dev/hdd1 ext3 13G 161M 12G 2% /mnt/hdd
are the two lines for the two new drives they are not very big but i more want to know why the are somewhat used when i run du -s -h /mnt/hdc
664K .
so it should only be 664K fill not 177MB
did i do something wrong in the partitioning or is this normal?
it just seems to me to be a bit much for just disk information
ext2/3 (4 ??? - dunno) reserve 5% to enable the root user to still login in a "out of space" situation and fix things. Only really needed on the root (/) f/s. For storage drives you can safely set it to zero and reclaim the space for other uses.
When formatting the drive as ext2/ext3, 5% of the drive's total space is reserved for the super-user (root) so that the operating system can still write to the disk even if it is full. However, for disks that only contain data, this is not necessary.
NOTE: You may run this command on a fat32 file system, but it will do nothing; therefore, I highly recommend not running it.
You can adjust the percentage of reserved space with the "tune2fs" command, like this:
sudo tune2fs -m 1 /dev/sdb1
This example reserves 1% of space - change this number if you wish.
This is for Ubuntu, but tune2fs should be the same on any distro. Just leave off the sudo for the command and run it as root. Just see "man tune2fs" for the details.
Thnaks guys i did that on both drives but no change it is not really important i just kinda wondered and i dont really have the time at the moment to to go to deep into anything but thanks for the help
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.