Re: Hard drive bad sector warning
Have you tried # parted -l, fdisk works with cylinders.
here's the parted output:
Model: ATA WDC WD7500BPKT-6 (scsi)
Disk /dev/sda: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number  Start   End     Size    Type      File system  Flags
 1      1049kB  53.7GB  53.7GB  primary   ntfs         boot
 2      53.7GB  54.8GB  1074MB  primary   ext4
 3      54.8GB  592GB   537GB   primary
 4      592GB   750GB   159GB   extended
 5      592GB   750GB   159GB   logical   ntfs
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg_hostname-lv_vm: 107GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Number  Start  End    Size   File system  Flags
 1      0.00B  107GB  107GB  ext4
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg_hostname-lv_swap: 4094MB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Number  Start  End     Size    File system     Flags
 1      0.00B  4094MB  4094MB  linux-swap(v1)
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg_hostname-lv_home: 51.2GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Number  Start  End     Size    File system  Flags
 1      0.00B  51.2GB  51.2GB  ext4
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg_hostname-lv_root: 20.5GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Number  Start  End     Size    File system  Flags
 1      0.00B  20.5GB  20.5GB  ext4
Error: /dev/mapper/sda3_crypt: unrecognised disk label                    
Warning: Unable to open /dev/sr1 read-write (Read-only file system).  /dev/sr1
has been opened read-only.
Warning: The driver descriptor says the physical block size is 512 bytes, but
Linux says it is 2048 bytes.
Ignore/Cancel? 
----------------------------------
not sure what that error means. I am guessing it's got something to do with the LUKS partition.
If I type Ignore, It says
Error: Can't have a partition outside the disk!  
???
-- 
Kind regards,
Yudi
Reply to: