PDA

View Full Version : Problems mounting USB-HD



tyson
03-08-2004, 20:49
All,

I've got problems mounting a 160Gb disk to my 500g. I tried some command with these results:


ls /mnt/usbfs/ gives no responce


mount gives:
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
none on /proc type proc (rw)
/ramfs on /mnt/ramfs type ramfs (rw)
none on /proc/bus/usb type usbfs (rw)


cat /proc/partitions gives:
major minor #blocks name
8 0 156290904 scsi/host0/bus0/target0/lun0/disc
8 1 1 scsi/host0/bus0/target0/lun0/part1
8 5 122881153 scsi/host0/bus0/target0/lun0/part5
8 6 33399103 scsi/host0/bus0/target0/lun0/part6

In the System log I find:
Aug 3 20:46:48 user.warn klogd: FAT: bogus logical sector size 0
Aug 3 20:46:48 user.warn klogd: VFS: Can't find a valid FAT filesystem on dev 08:01.

But still I cannot use my disk as FTP-server. I run 1.7.5.6.
Anybody some ideas to solve this?

WlanMan
04-08-2004, 19:28
In the System log I find:
Aug 3 20:46:48 user.warn klogd: FAT: bogus logical sector size 0
Aug 3 20:46:48 user.warn klogd: VFS: Can't find a valid FAT filesystem on dev 08:01.


Hi

This seems to me that the USB Hardware was detected, but the file system driver is unable to read the filesystem table proberly.
Try to format the Disk new, with one Primary Partition and Fat32 File system.

tyson
04-08-2004, 21:44
I will try that, although it will cost me some data-move. Currently got a 120Gig partition on fat32 as primary disk and a 40Gig NTSF as secondary.

Question:
I can se these 2 partitions, but which partition is part 1?
8 1 1 scsi/host0/bus0/target0/lun0/part1 <---
8 5 122881153 scsi/host0/bus0/target0/lun0/part5
8 6 33399103 scsi/host0/bus0/target0/lun0/part6

WlanMan
04-08-2004, 22:15
Hi

This could be the problem, i just fixed on the filesystem driver.
Linux Counts 1 to 4 for primary partitions and 5 to endless for extendet ones.
All extendet partitions are anranged in one virtual primary partition.
This is in your case Part1. She is marked extendet and holds part5 and part6.
When you Reformat it you need to Set both Partitions as Primary (so that they get called as part1 and part2). Otherwise the Router will not rekognise them.

You can Try "Partition Magic" under Windows to rearange the Partitions without swapping gigabytes of data, however this is somewhat risky :).

Hope i have explained it clearly