Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › N00b Question: Reported Filesystem Sizes
New Posts  All Forums:Forum Nav:

N00b Question: Reported Filesystem Sizes - Page 2

post #11 of 20
off-topic:
well the descrepency on harddrive size and partitioned size for the most part is manufactures consider a Megabyte=1000 kilobytes, where Operating systems (like windows) considers Megabytes=1024 kilobytes. you don't really loose any actual size, i forget the reason why their is a difference between how many kilobytes make a megabyte, i know at one time Mac OS (not sure which version or if they still do it) calculate a kilobyte at 1000bytes...linux as far as i know has always used the 1024kb method.

On-Topic:
from reading the article and using my own harddrive, using the standard

mkfs.ext4 /dev/DEV

will produce an overhead of about 1.3 Gigabytes per 100 Gigabytes (note: i had already ran tune2fs -m 0 /dev/<device> before hand, so this figure does not include the superuser reserve, if the superuser reserve is in place, this 1.3 GB figure will be higher for overhead on a non-system parititon).

i moved everything off the one 750GB partition, and reformatted it with this command line and options:

mkfs.ext4 -m 0 -O ^resize_inode -N 16 /dev/<device>

i was able to regain the majority of space back, loosing about 300 megabytes all together, so now overhead is, 42 Megabytes per 100 Gigabytes.

now i disabled some important features for extents filesystem, since this is a storage drive, and only has 1 partition on it.

-m 0 (removed the superuser reserved blocks, which doesn't matter since /home nor / are located on this drive.)

-O ^resize_inode (removed ability to extend partition later, but since it is a primary partition and not a logical, and it is the only partition on the drive, this is not really needed.)

-N 16 (reduces the inode count to 16, instead of using 512 blocks per block group for inode table, it uses 1 block per inode table. i'm not sure what the lasting ramifications of this are tbh.)

i would suggest using this at your own risk i would never use this on a system partition such as / or /home, even tho attempting as it sounds to try, the overhead is a bit extreme than other FS's, but extents is considered to be one of the most FS of all time, and a lot of it is due to this redundancy and features, so the ball is in your court.
Edited by Transhour - 2/26/11 at 12:43pm
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #12 of 20
The redundancy is for security, which you trade for space. It's actually quite nice how they set it up, while even getting decent performance (speed) out of the entire thing. =) EXT is by far a good FS for desktop. Server use is different, as I don't remember but there are a few that are known to be better (for their specific tasks, database, large file access, ect....).
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #13 of 20
Quote:
Originally Posted by mushroomboy View Post
The redundancy is for security, which you trade for space. It's actually quite nice how they set it up, while even getting decent performance (speed) out of the entire thing. =) EXT is by far a good FS for desktop. Server use is different, as I don't remember but there are a few that are known to be better (for their specific tasks, database, large file access, ect....).
on my file server i've tried out a few different FS's for it, my personal favorite so far for it is reiserFS, its amazing fast, the only potentionel downside to it is power outages and system hangs, you can loose data.(i've had a few power outages since switching to it, and i've had no data loss, knock on wood, but the problem would be completely removed if you had a battery backup and instructed the OS to shutdown if it switched to battery backup.)

JFS is another good one, don't know much about it, but kclug they seem to admire it over extents.

the amount of FS's for linux is impressive, each have their special super hero powers, and weakness's, i've used ext3 the most, and was highly impressed with it, ntfs i would honestly say is somewhere between ext2 and 3, but nowhere near the ability of ext4 (speed or features).

i still use FAT for all my usb drives, as it is the universal language of FS love for all OS's, Mac, windows and linux are all able to read and write to it, without any modification.
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #14 of 20
FAT for external devices is nice, as long as the files are 4G or less (right? It's around that). JFS is good, I used to use it. There was another one XFS that was supposed to be real good in Linux, I ran that even longer (I didn't notice any huge difference). That was until they removed it from the new Debian installer? I dunno, I stopped using it in favor of EXT3 for some reason and then right after that EXT4 beta came out and I just went there.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #15 of 20
Quote:
Originally Posted by mushroomboy View Post
FAT for external devices is nice, as long as the files are 4G or less (right? It's around that). JFS is good, I used to use it. There was another one XFS that was supposed to be real good in Linux, I ran that even longer (I didn't notice any huge difference). That was until they removed it from the new Debian installer? I dunno, I stopped using it in favor of EXT3 for some reason and then right after that EXT4 beta came out and I just went there.
XFS was the fs for irix i believe, it was created by SIG(silicon graphics). it was ported to linux, but i don't think it was just debian that dropped it from the kernel, i think the driver for itself was removed from the trunk (as i don't remember seeing it as a FS option when compiling custom kernels.)

JFS is ibm's FS for their unix products and they ported it to linux and licensed it under gpl awhile ago. i think linux uses the specs for jfs2, not sure don't remember tbh.

if i remember my linux history correctly, the reason extents is the default, is cause extents was original written for linux (before linux used minix's FS, and that was all kinds of infringement, so their was a race to find a replacement.)

yes there are plenty of other FS, lots superior to that of extents, but extents is true OSS at is core, and is more than enough for a desktop machine, all the others have their goals or roots based in server environment.
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #16 of 20
Well that explains where XFS went! lol I remember when it disappeared and was sad.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #17 of 20
Most likely the space discrepancy is due to ext4's journal.

As for ReiserFS, around 2005 it decided to attempt to eat all my data. Fortunately I didn't lose too much, but I did switch back to ext3 in a hurry. Unfortunately, it seems the developer went to prison for killing his wife so I don't know if the data eating bug was ever fixed, and I don't think he's going to be doing a lot of updates from there... As far as I know, very few people are still attempting to use ReiserFS or its "successor," Reiser4.
Edited by error10 - 2/27/11 at 10:46pm
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #18 of 20
Quote:
Originally Posted by error10 View Post
Most likely the space discrepancy is due to ext4's journal.

As for ReiserFS, around 2005 it decided to attempt to eat all my data. Fortunately I didn't lose too much, but I did switch back to ext3 in a hurry. Unfortunately, it seems the developer went to prison for killing his wife so I don't know if the data eating bug was ever fixed, and I don't think he's going to be doing a lot of updates from there... As far as I know, very few people are still attempting to use ReiserFS or its "successor," Reiser4.
hmm i did not know that about reiser...guess i will need to play with JFS

they drive has been rieserFS for a long time, and anytime i added a new drive, i just continued the trend, not even realizing it hasn't been updated...figured since it was included, it must being maintained, my arrogance i guess

i read the wiki, but unless i missed it, it doesn't state why he did it? oh well...
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #19 of 20
Quote:
Originally Posted by transhour View Post
i read the wiki, but unless i missed it, it doesn't state why he did it? oh well...
It's Wikipedia, not the National Enquirer. If you want to know why he did it, read the tabloids...or the talk page

Anyway, his company Namesys was updating ReiserFS for a while, but the company seems to have folded in on itself and died.
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #20 of 20
Quote:
Originally Posted by error10 View Post
It's Wikipedia, not the National Enquirer. If you want to know why he did it, read the tabloids...or the talk page

Anyway, his company Namesys was updating ReiserFS for a while, but the company seems to have folded in on itself and died.
might as well be the enquirer, with as much vandalism and "fan" edits i've seen on wiki
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › N00b Question: Reported Filesystem Sizes