Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: [gentoo-user] identical drives, different free space!
Date: Fri, 14 May 2010 01:53:42
Message-Id: 1273801862.9220.90.camel@localhost
1 Hi,
2
3 I have two 160Gb drives, one internal and one USB. I've partitioned
4 them the same and created an identical filesystem on the USB drive for
5 backing up my internal drive.
6
7 I'm using the following rsync command to make the backup:
8 sudo /usr/bin/ionice -c 3 /usr/bin/rsync -aAx --exclude suspend_file
9 --delete --delete-excluded --partial
10 --human-readable / /media/root-backup
11
12 however, after running this command sporadically for a few days, the USB
13 partition is now full, whereas my root partition isn't!
14
15 sda is internal, and sdd is external. sda7 is the one I'm interested
16 in:
17
18 $ sudo fdisk -l
19
20 Disk /dev/sda: 160.0 GB, 160041885696 bytes
21 255 heads, 63 sectors/track, 19457 cylinders
22 Units = cylinders of 16065 * 512 = 8225280 bytes
23 Sector size (logical/physical): 512 bytes / 512 bytes
24 I/O size (minimum/optimal): 512 bytes / 512 bytes
25 Disk identifier: 0x00000080
26
27 Device Boot Start End Blocks Id System
28 /dev/sda1 1 11 88326 6 FAT16
29 /dev/sda2 * 12 4875 39070080 b W95 FAT32
30 /dev/sda3 4876 4888 104422+ 83 Linux
31 /dev/sda4 4889 19457 117025492+ 5 Extended
32 /dev/sda5 4889 7321 19543041 83 Linux
33 /dev/sda6 7322 7384 506016 83 Linux
34 /dev/sda7 7385 19457 96976341 83 Linux
35
36 Disk /dev/sdd: 160.0 GB, 160041885696 bytes
37 255 heads, 63 sectors/track, 19457 cylinders
38 Units = cylinders of 16065 * 512 = 8225280 bytes
39 Sector size (logical/physical): 512 bytes / 512 bytes
40 I/O size (minimum/optimal): 512 bytes / 512 bytes
41 Disk identifier: 0x5d5d0036
42
43 Device Boot Start End Blocks Id System
44 /dev/sdd1 1 11 88326 6 FAT16
45 /dev/sdd2 12 4875 39070080 b W95 FAT32
46 /dev/sdd3 4876 4888 104422+ 83 Linux
47 /dev/sdd4 4889 19457 117025492+ 5 Extended
48 /dev/sdd5 4889 7321 19543041 83 Linux
49 /dev/sdd6 7322 7384 506016 83 Linux
50 /dev/sdd7 7385 19457 96976341 83 Linux
51
52 I just deleted a bunch of /var/tmp and distfiles to free up some space,
53 and ran the rsync again. Now it looks like this:
54
55 $ df -h
56 Filesystem Size Used Avail Use% Mounted on
57 rootfs 92G 81G 6.1G 93% /
58 /dev/sdd7 92G 89G 4.6M 100% /media/root-backup
59
60 /dev/sda3 99M 39M 55M 42% /boot
61 /dev/sdd3 99M 39M 55M 42% /media/boot-backup
62
63 I'm doing the /root backup from cron, but the /boot backup manually when
64 I make changes.
65
66 I thought perhaps the ext3 options were different (ie. different amount
67 of "reserved" space) but that would make the "Avail" columns different,
68 and shouldn't make the "Used" columns different.
69
70 any thoughts as to why my USB partition is full? thanks,
71 --
72 Iain Buchanan <iaindb at netspace dot net dot au>
73
74 Most people have two reasons for doing anything -- a good reason, and
75 the real reason.

Replies

Subject Author
Re: [gentoo-user] identical drives, different free space! Kaddeh <kaddeh@×××××.com>
Re: [gentoo-user] identical drives, different free space! Neil Bothwick <neil@××××××××××.uk>