Re: [Hampshire] ext4 and dd disc cloning

2010-07-10 Thread John Cooper
On 10/07/10 15:49, Vic wrote: Model Family: Western Digital Caviar Blue Serial ATA family Device Model: WDC WD5000AAKS-00V1A0 Serial Number:WD-WCAWF2693459 That drive is in warranty until 2013. If you go to the Western Digital site, you can arrange for a replacement. Vic. Than

Re: [Hampshire] ext4 and dd disc cloning

2010-07-10 Thread Vic
> Model Family: Western Digital Caviar Blue Serial ATA family > Device Model: WDC WD5000AAKS-00V1A0 > Serial Number:WD-WCAWF2693459 That drive is in warranty until 2013. If you go to the Western Digital site, you can arrange for a replacement. Vic. -- Please post to: Hampshire@mail

Re: [Hampshire] ext4 and dd disc cloning

2010-07-10 Thread John Cooper
On 10/07/10 14:00, James Courtier-Dutton wrote: > On 10 July 2010 11:39, John Cooper wrote: >> >> b = (int)((L-S)*512/B) >> where: >> b = File System block number >> B = File system block size in bytes >> L = LBA of bad sector >> S = Starting sector of partition as shown by fdisk -lu >> and (int)

Re: [Hampshire] ext4 and dd disc cloning

2010-07-10 Thread James Courtier-Dutton
On 10 July 2010 11:39, John Cooper wrote: > >  b = (int)((L-S)*512/B) > where: > b = File System block number > B = File system block size in bytes > L = LBA of bad sector > S = Starting sector of partition as shown by fdisk -lu > and (int) denotes the integer part. > > L=572267884, S=401625 B=409

Re: [Hampshire] ext4 and dd disc cloning

2010-07-10 Thread John Cooper
On 08/07/10 23:42, James Courtier-Dutton wrote: > On 8 July 2010 22:10, John Cooper wrote: >> My normal backup routine is to tar up my home directory files daily and >> then every month or so do a full disc clone using DD >> >> dd if=/dev/sda of=/dev/sdb bs=32M >> >> This has worked for years but