Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] identical drives, different free space! Iain Buchanan <iaindb@××××××××××××.au>