Author Topic: External HD lost after upgrade.  (Read 2831 times)

Offline panamahat

  • Jr. Member
  • **
  • Posts: 26
Re: External HD lost after upgrade.
« Reply #15 on: August 15, 2011, 07:16:50 PM »
I have ntfsprogs installed, where do I find it and how do I use it?

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11597
  • ----IOFLU----
Re: External HD lost after upgrade.
« Reply #16 on: August 15, 2011, 07:22:35 PM »
panamahat:

Look at the partition table for the external drive, particularly the start and end sectors.



Disk /dev/sdh: 2500.5 GB, 2500493049856 bytes
255 heads, 63 sectors/track, 38000 cylinders, total 610471936 sectors
Units = sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00047867

   Device Boot      Start         End      Blocks   Id  System
/dev/sdh1   *         256        254  4294967292    7  HPFS/NTFS

According to that your partition ends before it starts, which would definitely qualify as a serious problem.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline panamahat

  • Jr. Member
  • **
  • Posts: 26
Re: External HD lost after upgrade.
« Reply #17 on: August 15, 2011, 07:28:21 PM »
After running ntfsfix I get the following error message when trying to access the HD:
An error occurred while accessing 'Elements', the system responded: org.freedesktop.Hal.Device.Volume.PermissionDenied: Device /dev/sdh1 is listed in /etc/fstab. Refusing to mount.

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11597
  • ----IOFLU----
Re: External HD lost after upgrade.
« Reply #18 on: August 15, 2011, 07:48:44 PM »
panamahat:

If it were my drive I'd repartition it into several smaller partitions, to mount at various parts of your system, and leave a large part unpartitioned for future use.

My 1 TB external drive has a number of partitions with various Linux OS, and others for data storage; a total of 17 partitions. The largest is 322 GB and is dedicated to videos, and mounted on /movies2. My fstab is below to show other mount points.

Code: [Select]
# Entry for /dev/sda8 :
LABEL=kde2011           /                       ext4    defaults,noatime                1 1
LABEL=TR5-Documents     /home/polack/Documents  ext3    rw,user,noauto,exec,noatime     0 0
LABEL=Documents2        /home/polack/Documents2 ext3    rw,user,noauto,exec,noatime     0 0
# LABEL=share7          /share7                 ext3    rw,user,noauto,exec,noatime     0 0
LABEL=share1            /share1                 ext4    rw,user,noauto,exec,noatime     0 0
LABEL=share9            /share9                 ext3    rw,user,auto,exec,noatime       0 0
LABEL=movies            /movies                 ext3    rw,user,auto,exec,noatime       0 0
LABEL=movies2           /movies2                ext3    rw,user,auto,exec,noatime       0 0
# LABEL=TV-1            /tv                     ext3    rw,user,noauto,exec,noatime     0 0
LABEL=storage00         /zstorage00             ext3    rw,user,noauto,exec,noatime     0 0
LABEL=120backup         /zbackup                ext3    rw,user,noauto,exec,noatime     0 0
LABEL=boot200           /mnt/boot               ext3    rw,user,noauto,exec,noatime     0 0
#LABEL=part17           /mnt/17                 ext4    rw,user,noauto,exec,noatime     0 0
none                    /proc                   proc    defaults                        0 0
# Entry for /dev/sda2 :
#LABEL=swap200          swap                    swap    defaults                        0 0
# Entry for /dev/sda2 :
#LABEL=swap300          swap                    swap    defaults                        0 0
# Entry for /dev/sdc2 :
LABEL=swap1000          swap                    swap    defaults                        0 0
# Entry for /dev/sde2 :
LABEL=swap750           swap                    swap    defaults                        0 0
none                    /dev/pts                devpts  mode=0620                       0 0
/dev/fd0                /mnt/floppy             auto    rw,user,noauto,exec             0 0
/dev/sr0                /mnt/cdrom              auto    ro,user,noauto                  0 0
/dev/sr1                /mnt/dvd                auto    ro,user,noauto                  0 0
# none                  /dev/shm                tmpfs   defaults                        0 0

By breaking the drive into many smaller partitions it's easier to organize, and if a filesystem on one partition becomes corrupted, it can be unmounted and fscked, or even reformatted without losing everything on the whole drive. The larger the drive the better it is to have numerous partitions. Leaving part of the drive unpartitioned gives you the flexibility to create partitions as needed and of an appropriate size for its intended use.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline panamahat

  • Jr. Member
  • **
  • Posts: 26
Re: External HD lost after upgrade.
« Reply #19 on: August 16, 2011, 02:38:59 AM »
If I could get the damn thing to mount I would love to partition it into a dozen drives. So far nothing. If I can't get it to mount I'm going to have to return it and get another one.

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: External HD lost after upgrade.
« Reply #20 on: August 16, 2011, 07:36:48 AM »
pclinux control center can't see it unmounted?
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11597
  • ----IOFLU----
Re: External HD lost after upgrade.
« Reply #21 on: August 16, 2011, 09:11:23 AM »
If I could get the damn thing to mount I would love to partition it into a dozen drives. So far nothing. If I can't get it to mount I'm going to have to return it and get another one.

What gets mounted is the filesystem, not the partition per se. Partitions are created and formatted in an unmounted state. Only after the partition is formatted with a filesystem can it be mounted.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline ElCuervo

  • Hero Member
  • *****
  • Posts: 4148
  • I'm walking on sunshine!
Re: External HD lost after upgrade.
« Reply #22 on: August 16, 2011, 10:10:57 AM »
If I could get the damn thing to mount I would love to partition it into a dozen drives. So far nothing. If I can't get it to mount I'm going to have to return it and get another one.

What gets mounted is the filesystem, not the partition per se. Partitions are created and formatted in an unmounted state. Only after the partition is formatted with a filesystem can it be mounted.
If the disk is assigned something like /dev/sdf by the OS, shouldn't it show up in PCC where it can be formatted? I know there is something I'm missing here but I'm not sure what that is.
"If there were no change, there would be no butterflies" - Walt Disney

http://linuxcounter.net/cert/433721.png

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: External HD lost after upgrade.
« Reply #23 on: August 16, 2011, 12:19:43 PM »
yes it should

even my cellphone shows up in pcc to be formatted

something is wrong here

do you have different usb cables for that external hard disk?

also be sure to test different usb ports
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline luikki

  • Hero Member
  • *****
  • Posts: 1408
Re: External HD lost after upgrade.
« Reply #24 on: August 16, 2011, 02:37:22 PM »
Quote
also be sure to test different usb ports
+1

and also look at led's of your hdd... are they moving?

Offline panamahat

  • Jr. Member
  • **
  • Posts: 26
Re: External HD lost after upgrade.
« Reply #25 on: August 16, 2011, 03:12:47 PM »
Tested four different ports and cables, no joy. The light on the HD is active. The HD does show in PCC,
however PCC will not let me perform ANY modifications as it says "Drive cannot be mounted."

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11597
  • ----IOFLU----
Re: External HD lost after upgrade.
« Reply #26 on: August 16, 2011, 03:50:33 PM »
Tested four different ports and cables, no joy. The light on the HD is active. The HD does show in PCC,
however PCC will not let me perform ANY modifications as it says "Drive cannot be mounted."

Repeating previous posts, with different syntax:

The partition table on the drive is screwed up, therefore the filesystem can't be properly read, therefore it can't be mounted. Repartitioning can only be done when that drive has no partitions mounted, so whether the present partition can, or cannot, be mounted is not an issue. It needs to be repartitioned and then each partition needs to be properly formatted before anything on the drive can be mounted.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline ElCuervo

  • Hero Member
  • *****
  • Posts: 4148
  • I'm walking on sunshine!
Re: External HD lost after upgrade.
« Reply #27 on: August 16, 2011, 05:03:44 PM »
Tested four different ports and cables, no joy. The light on the HD is active. The HD does show in PCC,
however PCC will not let me perform ANY modifications as it says "Drive cannot be mounted."

Repeating previous posts, with different syntax:

The partition table on the drive is screwed up, therefore the filesystem can't be properly read, therefore it can't be mounted. Repartitioning can only be done when that drive has no partitions mounted, so whether the present partition can, or cannot, be mounted is not an issue. It needs to be repartitioned and then each partition needs to be properly formatted before anything on the drive can be mounted.
Allow me to add to this: go to PCC>Local disks>Manage disk partitons and choose Toggle to expert mode. Then click right on the bar representing the disk in question and select Create new partition; when that is complete, format it.

If you can see it in PCC, all the tools you need are available and you're home free - that's why I was asking about that.
"If there were no change, there would be no butterflies" - Walt Disney

http://linuxcounter.net/cert/433721.png

Offline panamahat

  • Jr. Member
  • **
  • Posts: 26
Re: External HD lost after upgrade.
« Reply #28 on: August 16, 2011, 07:01:17 PM »
OK, PCC lets me create new partitions, but when I try to format them, no matter what type I try I get a box asking Check Bad Blocks?, and when I click on OK, I get this error message:
INTERNAL ERROR: unknown device sdh
MDK::Common::Various::internal_error() called from /usr/lib/libDrakX/devices.pm:186
devices::entry() called from /usr/lib/libDrakX/devices.pm:201
devices::make() called from /usr/lib/libDrakX/fs/format.pm:177
fs::format::part_raw() called from /usr/lib/libDrakX/fs/format.pm:110
fs::format::part() called from /usr/lib/libDrakX/diskdrake/interactive.pm:1289
diskdrake::interactive::format_() called from /usr/lib/libDrakX/diskdrake/interactive.pm:920
diskdrake::interactive::Format() called from /usr/lib/libDrakX/diskdrake/hd_gtk.pm:126
(eval)() called from /usr/lib/libDrakX/diskdrake/hd_gtk.pm:126
diskdrake::hd_gtk::try_() called from /usr/lib/libDrakX/diskdrake/hd_gtk.pm:121
diskdrake::hd_gtk::try() called from /usr/lib/libDrakX/diskdrake/hd_gtk.pm:221
diskdrake::hd_gtk::__ANON__() called from /usr/lib/libDrakX/mygtk2.pm:1426
(eval)() called from /usr/lib/libDrakX/mygtk2.pm:1426
mygtk2::main() called from /usr/lib/libDrakX/ugtk2.pm:767
ugtk2::main() called from /usr/lib/libDrakX/diskdrake/hd_gtk.pm:115
diskdrake::hd_gtk::main() called from /usr/sbin/diskdrake:93

So after this, I must infer that the HD is corrupt, and I should return it and get a new one. Do the experts agree?

Offline ElCuervo

  • Hero Member
  • *****
  • Posts: 4148
  • I'm walking on sunshine!
Re: External HD lost after upgrade.
« Reply #29 on: August 16, 2011, 07:13:14 PM »
First I'd try NOT checking for bad blocks...
"If there were no change, there would be no butterflies" - Walt Disney

http://linuxcounter.net/cert/433721.png