Posted by Thomas Fri, 04 Mar 2005 02:14:00 +0000
My new Seagate 7200.8 250GB SATA drive came today! It took a trip home to grab a Molex to SATA power connector and four screws to get it properly installed. It took something like eight minutes to transfer the four Gigs of data from the old / to the new / partiton, and then another hour to transfer my data from the old /home to the new /home. It then took like four hours to figure out what exactly I needed to do to get lilo on the new drive properly. So, it’s working now (duh! from where do you think I am posting?), but I have one pretty big problem. I used the command time tar cflp - . | (cd /mnt/new_partition; tar xflp -) to copy the files. I found it some time ago from Usenet, before the bastardization of the interface by Google… :(. Anyway, check out the df:
Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 19998656 4254016 15744640 22% / tmpfs 257364 0 257364 0% /dev/shm /dev/sda3 223074000 93303252 129770748 42% /home /dev/sdb4 108998244 80562312 28435932 74% /mnt/sdb4 [tlg1466@argento /]$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 20G 4.1G 16G 22% / tmpfs 252M 0 252M 0% /dev/shm /dev/sda3 213G 89G 124G 42% /home /dev/sdb4 104G 77G 28G 74% /mnt/sdb4
Where the crap did those extra 12GB of data come from? This greatly disturbs me…
Just for kicks, I’ll give everybody the rest of the info about my drives:
[tlg1466@argento /]$ fdisk -l
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 125 1004031 82 Linux swap
/dev/sda2 126 2616 20008957+ 83 Linux
/dev/sda3 2617 30401 223183012+ 83 Linux
Disk /dev/sdb: 122.9 GB, 122942324736 bytes
16 heads, 63 sectors/track, 238216 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 2003 1009480+ 82 Linux swap
/dev/sdb3 2004 21844 9999864 83 Linux
/dev/sdb4 21845 238216 109051488 83 Linux
[tlg1466@argento /]$ sudo xfs_info /dev/sda3
meta-data=/home isize=256 agcount=16, agsize=3487234 blks
= sectsz=512
data = bsize=4096 blocks=55795744, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=1
naming =version 2 bsize=4096
log =internal bsize=4096 blocks=27244, version=1
= sectsz=512 sunit=0 blks
realtime =none extsz=65536 blocks=0, rtextents=0
[tlg1466@argento /]$ sudo xfs_info /dev/sdb4
meta-data=/mnt/sdb4 isize=256 agcount=26, agsize=1048576 blks
= sectsz=512
data = bsize=4096 blocks=27262872, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=1
naming =version 2 bsize=4096
log =internal bsize=4096 blocks=13311, version=1
= sectsz=512 sunit=0 blks
realtime =none extsz=65536 blocks=0, rtextents=0
