[DRBD-user] Inaccurate disk usage

Todd Denniston Todd.Denniston at ssa.crane.navy.mil
Thu Sep 23 02:09:01 CEST 2004

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


James Doherty wrote:
> 
> Hi guys,
> 
> I've been copying files over from our live servers to my DRBD setup in
> preparation for putting it live. We're running DRBD on top of LVM1 and
> using ext3 as the filesystem. I'm using 'internal' for meta-disk.
> 
> However, in the process of copying files over, I managed to fill the
> DRBD resource up. df -h reports this however:
> 
> fileserver:~# df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hda1             2.8G  309M  2.3G  12% /
> /dev/drbd0            1.8G  408M  1.3G  23% /data
> /dev/drbd1             20G   18G  912M  96% /shares
> 
> I can't copy files to the /shares drbd resource as I get a "disk is
> full" error. I'm not really sure who is to blame here. Whether its LVM,
> DRBD or ext3. Has anyone come across this before?
> 
> Thanks!
man mke2fs 
"      -m reserved-blocks-percentage
              Specify  the  percentage  of  the filesystem blocks
              reserved for the super-user.  This  value  defaults
              to 5%.
"

20G*.05
1.00G=~912M, 

Are you writing the files as the super-user or as a normal user???

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter



More information about the drbd-user mailing list