Post by omega on Sept 14, 2007 20:05:53 GMT 7
While reading the realease notes for FW 2.00.01 I stopped over one sentence:
This is nonsense (diplomatic speaking) and the 5% unusable disk space can be set to 0%.
In order to explain how it is done a little excursion: right from beginning of the UNIX operating system the filesystems are commonly having a parameter which controls how many disk space should be reserved exclusively for the super user (root). Especially for filesystems used for the system files this was essential as otherwiese unprivileged users could fill up the system partition and therefore run the whole system unusable. Therefore whenever a filesystem is created and without any special options 5% of the total amount of the filesystem will be reserved to the root user.
This is also the case for the /raid/data filesystem on the N5200. But in this case the 5% are not needed as this is not a system partition. The system partition is /raid/sys.
Fortunately the amount of disk space reserved for the root user can be adjusted with the tune2fs command (in fact the current settings can be shown with tune2fs -l /dev/vg0/lv0).
I've copied the tune2fs exe to the N5200 (this program isn't included in the standard system) and checked the settings - and yes, 5% of my total disk space (that is about 70GB) is reserved for root.
The command
sets the percentage to 0% so all disk space will be available for files. In my case that's 70GB additional disk space.
It might be an idea to create a module which just installs a bunch of commonly needed programs into some place. Or maybe a tuning module which adjusts some settings.
And don't forget the "-m 0" flag when you create an ext2,ext3 or reiserfs filesystem on a USB disk or memory stick - you'll lose 5% otherwise.
Anyway, Thecus: please correct your code and add the "-m 0" to the mke2fs calls when creating the data partition.
Andreas
Once the RAID created, there will be about 5% data used by EXT3 file system. Thecapacity stores the journal and inodes; which are necessary to keep RAID data safer.
This is nonsense (diplomatic speaking) and the 5% unusable disk space can be set to 0%.
In order to explain how it is done a little excursion: right from beginning of the UNIX operating system the filesystems are commonly having a parameter which controls how many disk space should be reserved exclusively for the super user (root). Especially for filesystems used for the system files this was essential as otherwiese unprivileged users could fill up the system partition and therefore run the whole system unusable. Therefore whenever a filesystem is created and without any special options 5% of the total amount of the filesystem will be reserved to the root user.
This is also the case for the /raid/data filesystem on the N5200. But in this case the 5% are not needed as this is not a system partition. The system partition is /raid/sys.
Fortunately the amount of disk space reserved for the root user can be adjusted with the tune2fs command (in fact the current settings can be shown with tune2fs -l /dev/vg0/lv0).
I've copied the tune2fs exe to the N5200 (this program isn't included in the standard system) and checked the settings - and yes, 5% of my total disk space (that is about 70GB) is reserved for root.
The command
tune2fs -m 0 /dev/vg0/lv0
sets the percentage to 0% so all disk space will be available for files. In my case that's 70GB additional disk space.
It might be an idea to create a module which just installs a bunch of commonly needed programs into some place. Or maybe a tuning module which adjusts some settings.
And don't forget the "-m 0" flag when you create an ext2,ext3 or reiserfs filesystem on a USB disk or memory stick - you'll lose 5% otherwise.
Anyway, Thecus: please correct your code and add the "-m 0" to the mke2fs calls when creating the data partition.
Andreas