You are not logged in.

#1 2008-08-31 14:48:21

lesage
Member
Registered: 2008-08-18
Posts: 9

rsync error

Hi

I'm trying to backup my external fat32 disk onto a internal disk (ext2) on my linux device..

The command I'm using is

 rsync -va /media/extern/dir /media/data1/dir

then some bits and pieces get copied but my screen fills with the repeating message :

 Ext2-fs error(device sdb1): ext2_valid_block_bitmap:invalid block bitmap_block_group= xxxx, block xxxxxxxxxx

xxxx being each line a new sequential number

I stop the operation with crtl - c after some time because I don't trust the copy it is making

in the rsync command i use -va ... v because I want to see what is going on and a because I want dir subdirs and files to be fully copied..

any thoughts are welcome

thanks

s.

Offline

#2 2008-09-01 12:56:19

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: rsync error

Well, your internal disk seems busted. Whip out your rescue live cd of choice and look what smartctl, e2fsck and dmesg say about the drive. But only after mounting it read-only and attempting one last full backup. Sometimes you are lucky and reading from a drive still works while writing doesn't.


1000

Offline

#3 2008-09-04 13:25:32

lesage
Member
Registered: 2008-08-18
Posts: 9

Re: rsync error

the disk seem fine ... it is empty, I have reformatted them with partitionmagic this time to an ext3 format.
now when I write to them with rsync I still get that same error in verbose but the copying happens...
It's a new internal disk.. should I format it diffrently ?

thanks

Last edited by lesage (2008-09-04 13:25:58)

Offline

#4 2008-09-05 01:03:33

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: rsync error

1) e2fsck -vccf /dev/yourdiskandpartition (takes ages)
2) pacman -S smartmontools; smartctl -s on /dev/yourdisk; smartctl -t long /dev/yourdisk; (wait); smartctl -l selftest /dev/yourdisk

If there's really nothing wrong with the disk after that... well, then I'm out of ideas. Google time. Or try a different filesystem (reiser/jfs).


1000

Offline

Board footer

Powered by FluxBB