Results 1 to 15 of 15

Thread: internal hd not mounting?!

  1. #1

    internal hd not mounting?!

    hey all,

    i have a wl-hdd running olegs fw 1.9.2.7-7e. inside is a 100gb internal hd. i managed to partition and format it, but i am definitely not able to mount it
    [admin@banana /]$ fdisk -l

    Disk /dev/ide/host0/bus0/target0/lun0/disc: 100.0 GB, 100030242816 bytes
    255 heads, 63 sectors/track, 12161 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/ide/host0/bus0/target0/lun0/part1 1 28 224878+ 82 Linux swap
    /dev/ide/host0/bus0/target0/lun0/part2 29 2461 19543072+ 83 Linux
    /dev/ide/host0/bus0/target0/lun0/part3 2462 7325 39070080 83 Linux
    /dev/ide/host0/bus0/target0/lun0/part4 7326 12161 38845170 83 Linux

    [admin@banana /]$ mount /dev/ide/host0/bus0/target0/lun0/part1 /opt
    mount: Mounting /dev/ide/host0/bus0/target0/lun0/part1 on /opt failed: Invalid argument

    [admin@banana /]$ mount /dev/discs/disc0/part2 /opt
    mount: Mounting /dev/discs/disc0/part2 on /opt failed: Invalid argument
    someone told me to install ext3 support to the firmware but i guess its in olegs firmware...maybe someone knows?!

    best regards,
    hullahulla

  2. #2
    It seems that you are trying to mount the swap partition.
    TRY:
    [admin@banana /]$ mount /dev/ide/host0/bus0/target0/lun0/part2 /opt

  3. #3
    Quote Originally Posted by vladut
    It seems that you are trying to mount the swap partition.
    TRY:
    [admin@banana /]$ mount /dev/ide/host0/bus0/target0/lun0/part2 /opt
    :-) yeah, this was a typo. i tried almost all possible combinations (part1+4 etc), i just wanted to show, that i tried the /dev/ide/host0/bus0/t.... and the /dev/discs/disc0... way. i dont get why theres a invalid argument....

    but thanks for the reply,
    hullahulla

  4. #4
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,353
    looks like you've ext2 partitions, add a journal to make them ext3...

  5. #5
    It may work if you use "-t ext3" switch:
    mount -t ext3 /dev/scsi/host0/bus0/target0/lun0/part2 /opt

  6. #6
    Quote Originally Posted by vladut
    It may work if you use "-t ext3" switch:
    mount -t ext3 /dev/scsi/host0/bus0/target0/lun0/part2 /opt
    which results in the same "invalid argument"...

    my syslog says something like this:
    Code:
    Jan  1 01:00:02 kernel: -DMA at 0x0140-0x0147, BIOS settings: hda:pio, hdb:pio
    Jan  1 01:00:02 kernel:     ide1: BM-DMA at 0x0148-0x014f, BIOS settings: hdc:pio, hdd:pio
    Jan  1 01:00:02 kernel: hda: SAMSUNG HM100JC, ATA DISK drive
    Jan  1 01:00:02 kernel: ide2: ports already in use, skipping probe
    Jan  1 01:00:02 kernel: ide3: ports already in use, skipping probe
    Jan  1 01:00:02 kernel: ide4: ports already in use, skipping probe
    Jan  1 01:00:02 kernel: ide5: ports already in use, skipping probe
    Jan  1 01:00:02 kernel: ide0 at 0x100-0x107,0x10a on irq 6
    Jan  1 01:00:02 kernel: blk: queue c00222e8, I/O limit 4095Mb (mask 0xffffffff)
    Jan  1 01:00:02 kernel: hda: 195371568 sectors (100030 MB) w/8192KiB Cache, CHS=12161/255/63, UDMA(33)
    Jan  1 01:00:02 kernel: Partition check:
    Jan  1 01:00:02 kernel:  /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4
    .....
    Jan  1 01:00:17 kernel: FAT: bogus logical sector size 0
    Jan  1 01:00:17 kernel: VFS: Can't find a valid FAT filesystem on dev 03:03.
    Jan  1 01:00:17 kernel: FAT: freeing iocharset=cp950
    Jan  1 01:00:17 kernel: FAT: bogus logical sector size 0
    Jan  1 01:00:17 kernel: VFS: Can't find a valid FAT filesystem on dev 03:03.
    Jan  1 01:00:17 kernel: ext3: No journal on filesystem on ide0(3,4)
    .....
    Jan  1 01:01:28 kernel:  /dev/scsi/host0/bus0/target0/lun3: I/O error: dev 08:30, sector 0
    Jan  1 01:01:28 kernel:  I/O error: dev 08:30, sector 0
    Jan  1 01:01:28 kernel:  unable to read partition table
    Jan  1 01:02:08 kernel: ext3: No journal on filesystem on ide0(3,2)
    how do i add journaling to linux disk - or is it something else?

    thanks a lot,
    hullahulla

  7. #7
    Use -j switch when formating:
    mke2fs -j /dev/ide/host0/bus0/target0/lun0/part2
    Last edited by vladut; 21-06-2006 at 11:27.

  8. #8
    What command u used to format the partitions, any reason to place the swap in part 1 ?

  9. #9
    mke2fs is the command for formating (mkswap the for swapfile)

  10. #10
    thanxs for all the info mke2fs -j works fine! apologies for late reply but i´m out to work w/o email connection etc.

    best regards,
    hulla

  11. #11
    Quote Originally Posted by smartphone
    What command u used to format the partitions, any reason to place the swap in part 1 ?
    well, i was just following the i believe macsat.com ipkg howto :-)

  12. #12

    mine still not mounting

    Hi, I've got the same problem, but this procedure haven't solved it. i have the same startup syslog lines, except i end up with
    Code:
    Jan  1 01:00:18 kernel: FAT: bogus logical sector size 0
    Jan  1 01:00:18 kernel: VFS: Can't find a valid FAT filesystem on dev 03:01.
    Jan  1 01:00:18 kernel: FAT: freeing iocharset=cp950
    Jan  1 01:00:18 kernel: FAT: bogus logical sector size 0
    Jan  1 01:00:18 kernel: VFS: Can't find a valid FAT filesystem on dev 03:01.
    when I try "mount -t ext3 /dev/ide/host0/bus0/target0/lun0/part1 /opt" i get
    Code:
    Jul 23 17:31:59 kernel: VFS: Can't find ext3 filesystem on dev ide0(3,1).
    Code:
    [admin@Asus root]$ fdisk -l
    Disk /dev/ide/host0/bus0/target0/lun0/disc: 40.0 GB, 40007761920 bytes
    255 heads, 63 sectors/track, 4864 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
                                    Device Boot    Start       End    Blocks   Id  System
    /dev/ide/host0/bus0/target0/lun0/part1               1        4864    39070048+ 83  Linux
    Please, what am I doing wrong? This is on WL-HDD with the newest Oleg's firmware.

  13. #13
    Join Date
    Jul 2006
    Location
    Nijmegen, The Netherlands
    Posts
    7
    Did you format your disk?

    Try:
    Code:
    mke2fs -j /dev/ide/host0/bus0/target0/lun0/part1
    Warning this will format your harddisk and removes all data on the disk, but this should be no problem as you just fdisked it!
    ASUS wl500g Deluxe: OpenWRT RC5 White Russian
    ASUS wl500g Premium: OpenWRT RC6 Kamikazee / White Russian?

  14. #14
    Yeah I "fdisked" it and I've formatted it using mke2fs -j, first time my wlhdd ran out of memory and killed the mke2fs process, but second time everything went right. Yesterday I was able to access the drive via Samba (which somehow refuses to startup during boot with the new firmware) and copy there and back a 50MB file, but since the new firmware (and since I fdisked it, dunno what is the problem) I'am unable to even mount it. And I need that firmware because I need to use the eth port as WAN. and others (WiFi) as LAN. (internet connection)

  15. #15
    Hi guys!

    I recently had the same problem.
    Figured out that the FW (which is intended for a device without an internal hd) uses .../part1 as swap and .../part2 as filesystem partitions for an EXTERNAL disk connected to a WL500g!

    So for me ../part5 was used for the internal hd. Mounted this one to /opt and installed everything there accordingly to the Wiki on Sprayfly.

    When you connect an additional hd to the usb port of the wlhdd, then you can use .../part2.

    Maybe this points you to the right direction.

    BTW: I have another thread in this forum, looking for help on samba'ing both (internal and external) harddisks. Maybe someone could have a look and help?

Similar Threads

  1. WL-HDD, where's my internal disk
    By grunchy in forum WL-HDD Q&A
    Replies: 1
    Last Post: 30-05-2006, 19:29
  2. USB-HD not mounting correctly
    By Control in forum WL-500g Q&A
    Replies: 1
    Last Post: 27-05-2006, 11:26
  3. Replies: 3
    Last Post: 04-05-2006, 14:46
  4. Mounting ??
    By Willie2_z in forum WL-500g Q&A
    Replies: 0
    Last Post: 30-03-2006, 19:39
  5. Loop device mounting - not a block device
    By pardonfiu in forum WL-500g Q&A
    Replies: 0
    Last Post: 16-01-2006, 16:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •