after update to 11.04 no access to a diskdrive

Asked by ed

updated from 9 lts to 11.04

had a drive which showed two names (don't askk why and how because I dont know and I an using this drive some years this way)
one is hitashivideo and the other hitashivideo_ the hitashivideo does not contan any file as I never was able to write to it. the other (hitashivideo_) contains my data.

after updating the system only showed hitashivideo and it was not alowed. I aplied chown on it to own it and I was able to list the files (actualy I do know that there are no files and this was shown to me.)

question: how can I get acces to "hitashivideo_" which contains my data.

thanks for help.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gparted Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

sudo fdisk -l; mount

Thanks

Revision history for this message
ed (ed-galeria-wl) said :
#2

here it comes:

ed@escobero1302:~$ sudo fdisk -l; mount
[sudo] password for ed:

Disk /dev/sda: 251.0 GB, 250995965440 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x12345678

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 30139 242091486 83 Linux
/dev/sda2 30140 30515 3020220 5 Extended
/dev/sda5 30140 30515 3020188+ 82 Linux swap / Solaris

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sdb: 1000.2 GB, 1000200658432 bytes
255 heads, 63 sectors/track, 121600 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot Start End Blocks Id System
/dev/sdb1 1 121602 976762583+ ee GPT

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000dafcf

   Device Boot Start End Blocks Id System
/dev/sdc1 * 1 59538 478238953+ 83 Linux
/dev/sdc2 59539 60801 10145047+ 5 Extended
/dev/sdc5 59539 60801 10145016 82 Linux swap / Solaris

Disk /dev/sdd: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x41413535

   Device Boot Start End Blocks Id System
/dev/sdd1 * 1 4186 33624013+ 83 Linux
/dev/sdd2 4187 59992 448261695 5 Extended
/dev/sdd3 59993 60801 6498292+ 83 Linux
/dev/sdd5 59510 59992 3879697+ 82 Linux swap / Solaris
/dev/sdd6 4187 58216 433995912 83 Linux
/dev/sdd7 58217 59508 10377958+ 82 Linux swap / Solaris

Partition table entries are not in disk order
Note: sector size is 4096 (not 512)

Disk /dev/sde: 3000.6 GB, 3000558944256 bytes
255 heads, 63 sectors/track, 45599 cylinders
Units = cylinders of 16065 * 4096 = 65802240 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0002dcc8

   Device Boot Start End Blocks Id System
/dev/sde1 1 45600 2930232320 7 HPFS/NTFS
/dev/sdd6 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/ed/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ed)
/dev/sde1 on /media/My Book type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
ed@escobero1302:~$ ^C
ed@escobero1302:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Ok you have 5 drives with MANY partitions, Which do you need access to?

Revision history for this message
ed (ed-galeria-wl) said :
#4

aditional info:

the "disk utility" of ubuntu says guid partition table and says unalocated space, names it /dev/sdb and says it's healthy

hope this helps a bit

thanks

Revision history for this message
ed (ed-galeria-wl) said :
#5

well it is a drive: /dev/sdb

and as I said under 9.04 (I supose it was that brand) I had acces with hitashivideo_

on the same phisical drive was another partition (I dont know why and how it happened that I got 2 partitions one names hitashivideo and the other one hitashivideo_)

I never was able to use hitashivideo and as the drive had data and it didn't disturb I simply went on using

dont know if this helps

Revision history for this message
delance (olivier-delance) said :
#6

"WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted."
You don"t have on sdb the classical DOS partition table, but a new type rarely used today.
Could you run "sudo parted -l" instead of " sudo fdisk -l". As I haven't such a disk, I can't check.
If this fails, could you run:
   sudo apt-get install gparted
and then System->Administration->Gparted and looks the partition table.
This GPT format (also called EFI) is used on Mac and a few Intel motherboard. What is the origin of the disk ?
N.B.: some disks have a read-only partition on which are installed some software and drivers to use it.

Revision history for this message
ed (ed-galeria-wl) said :
#7

I bought and installed the drive.
possibly I formatted o not (I cant remember)

the data on the drive is valuable and I do want to recover them

It did work well on this computer, hence I first used it on annother

Revision history for this message
ed (ed-galeria-wl) said :
#8

question

if I do either of both you suggested (Could you run "sudo parted -l" instead of " sudo fdisk -l". As I haven't such a disk, I can't check.
If this fails, could you run:
   sudo apt-get install gparted) do I risk to loose dta
yhanks for your answer
ed.

Revision history for this message
delance (olivier-delance) said :
#9

No. "sudo parted -l" where "-l" is lower case "-L" will simply list partition table. For Gparted, it will do nothing if you DON'T click on green check.

Revision history for this message
ed (ed-galeria-wl) said :
#10

ed@escobero1302:~$ sudo parted -l
[sudo] password for ed:
Model: ATA Maxtor 7Y250P0 (scsi)
Disk /dev/sda: 251GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
 1 32.3kB 248GB 248GB primary ext2 boot
 2 248GB 251GB 3093MB extended
 5 248GB 251GB 3093MB logical linux-swap(v1)

Error: Invalid argument during seek for read on /dev/sdb
Retry/Ignore/Cancel? ^C

Model: ATA SAMSUNG HD502HJ (scsi)
Disk /dev/sdc: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
 1 32.3kB 490GB 490GB primary ext3 boot
 2 490GB 500GB 10.4GB extended
 5 490GB 500GB 10.4GB logical linux-swap(v1)

Model: ATA SAMSUNG HD502HJ (scsi)
Disk /dev/sdd: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
 1 32.3kB 34.4GB 34.4GB primary ext4 boot
 2 34.4GB 493GB 459GB extended
 6 34.4GB 479GB 444GB logical ext4
 7 479GB 489GB 10.6GB logical linux-swap(v1)
 5 489GB 493GB 3973MB logical linux-swap(v1)
 3 493GB 500GB 6654MB primary ext4

Model: WD My Book 1130 (scsi)
Disk /dev/sde: 3001GB
Sector size (logical/physical): 4096B/4096B
Partition Table: msdos

Number Start End Size Type File system Flags
 1 1049kB 3001GB 3001GB primary

Model: WDC WD50 00BEVT-22A0RT0 (scsi)
Disk /dev/sdf: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
 1 32.3kB 500GB 500GB primary ntfs

ed@escobero1302:~$ sudo parted -l
Model: ATA Maxtor 7Y250P0 (scsi)
Disk /dev/sda: 251GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
 1 32.3kB 248GB 248GB primary ext2 boot
 2 248GB 251GB 3093MB extended
 5 248GB 251GB 3093MB logical linux-swap(v1)

Error: Invalid argument during seek for read on /dev/sdb
Retry/Ignore/Cancel? i
Error: The backup GPT table is corrupt, but the primary appears OK, so that will
be used.
OK/Cancel?

Revision history for this message
ed (ed-galeria-wl) said :
#11

ed@escobero1302:~$ sudo parted -l
Model: ATA Maxtor 7Y250P0 (scsi)
Disk /dev/sda: 251GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
 1 32.3kB 248GB 248GB primary ext2 boot
 2 248GB 251GB 3093MB extended
 5 248GB 251GB 3093MB logical linux-swap(v1)

Error: Invalid argument during seek for read on /dev/sdb
Retry/Ignore/Cancel? i
Error: The backup GPT table is corrupt, but the primary appears OK, so that will
be used.
OK/Cancel? o
Backtrace has 8 calls on stack:
  8: /lib/libparted.so.0(ped_assert+0x2e) [0x7f87e28d589e]
  7: /lib/libparted.so.0(+0x40adb) [0x7f87e2907adb]
  6: /lib/libparted.so.0(ped_disk_new+0x75) [0x7f87e28dbbb5]
  5: parted() [0x405a31]
  4: parted() [0x4067fa]
  3: parted(main+0x14c1) [0x40aaf1]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff) [0x7f87e20cbeff]
  1: parted() [0x404fa9]

You found a bug in GNU Parted! Here's what you have to do:

Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

 http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

 http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (2.3)
along with the error message below, the output of

 parted DEVICE unit co print unit s print

and the following history of commands you entered.
Also include any additional information about your setup you
consider important.

Assertion (last_usable <= disk->dev->length) at
../../../libparted/labels/gpt.c:934 in function _parse_header() failed.

ed@escobero1302:~$ ^C
ed@escobero1302:~$

Revision history for this message
delance (olivier-delance) said :
#12

OK. GPT is not today well managed by parted! Please report a bug.
Were you more lucky with Gparted ?

Revision history for this message
ed (ed-galeria-wl) said :
#13

I am tired and will stop here today.

will try gparted tomorrow (dont want to make any mistake due to tiredness)

thanks will let you know how it goes on

ed

Revision history for this message
delance (olivier-delance) said :
#14

You are wise! Me too I stop this evening.

Revision history for this message
ed (ed-galeria-wl) said :
#15

follow up:

the good news is that I succeded the following morning to access the drive and partition (by mounting it with the "disk utility", I opened by chance, and as it gave this option I klicked) hitashivideo_. This means I have the data without any loss (lucky me). it took more than 6 hours to copy the whole lot from the PATA atached disk to an external USB3(wondering why it took so long).

the bad news are:
- today I started the computer and I no more am able to access the hitashivideo_. cant mount it with "disk utility" as it (the hitashivideo_ partitiomn) is no more seen by the program.
- I cant remember what I did the night before, in extensis what I did to enable the access

now as I have the data and I do not urgently need the space I am disposed to investigate this if it is of interest, otherwise I format the drive and stay happy

delance thanks for your help

ed

Revision history for this message
delance (olivier-delance) said :
#16

Simpler is to format in DOD partition format. This one has some drawbacks and is outdated, but it is well supported.

Can you help with this problem?

Provide an answer of your own, or ask ed for more information if necessary.

To post a message you must log in.