[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] Hard disk problemer



On 2011-11-20 20:13, Jens Bang wrote:

>> Destitionen skal blot være mindst samme størrelse (antal sektorer).
>> Hvis du kan læse partitionstabel, så nøjes med at bruge ddrescue på
>> partition(er). Bare de er mindst ligeså store (eller samme størrelse
>> i antal sektorer)
> 
> OK, her er output fra fdisk på de 2 diske. sdc er den disk der skal bruges
> som midlertidig disk til at 'lege' med, mens sdb er den originale
> fejlbehæftede disk. Så vidt jeg kan se, så er sdc1 stor nok til at kunne
> holde data fra sdb2. Korrekt? Og hvad er det der med "Partition 1 does not
> end on cylinder boundary."?

ikke så betydningsfuldt idag med den warning fra fdisk.
det er jo LBA der bruges, og ikke fysisk en cylinder.
men PC-BIOS og DOS var jo bygget til direkte cylinder/tracks/sector
adressering, men med LBA er det relevant.


> sslug@sslug:~# fdisk -lu /dev/sdc
> 
> Disk /dev/sdc: 500.1 GB, 500107862016 bytes
> 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors

sektorantak er det væsentlige.

> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x01d375d4
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdc1               1   976768064   488384032   83  Linux

1 block = 1 kbyte = 2 sektorer så vidt jeg kan se.

din partition er på  976768064 sektorer eller 488384032 blokke.


> 
> sslug@sslug:~# fdisk -lu /dev/sdb
> 
> Disk /dev/sdb: 500.1 GB, 500107862016 bytes
> 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x47fa12fd
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1            2048     8787967     4392960   82  Linux swap / Solaris
> Partition 1 does not end on cylinder boundary.
> /dev/sdb2   *     8787968   976771071   483991552   83  Linux

den gamle partition sdb2 er på 483991552 blokke = 967983104 sektorer.
som er mindre end sdc1, evt. kunne du oprette sdc1 i samme størrelse
som sdb2 i antal sektorer/blokke ;is
men det burde også virke hvis den nye sdc1 er en anelse større.





 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2011-12-01, 02:01 CET [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *