Results 1 to 5 of 5

Thread: Problem mounting second harddisk

  1. #1
    Join Date
    Jul 2008
    Location
    Groningen, Netherlands
    Posts
    12

    Problem mounting second harddisk

    I can't mount second harddisk on my WL-500gP with oleg -10 firmware.
    Is this a limitation of this kernel?

    I get:
    [admin@NAS /]$ mount /dev/discs/disc1/part2 /tmp/harddisk
    mount: Mounting /dev/discs/disc1/part2 on /tmp/harddisk failed: Invalid argument

    The folder /tmp/harddisk exists and is empty.

    Before mounting i have set up the disk with fdisk:

    Disk /dev/discs/disc1/disc: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/discs/disc1/part1 1 32 257008+ 82 Linux swap
    /dev/discs/disc1/part2 33 163 1052257+ 83 Linux
    /dev/discs/disc1/part3 164 14593 115908975 83 Linux

    There is no error with the partitions:

    [admin@NAS /]$ e2fsck -p /dev/discs/disc1/part2
    ext2fs_check_if_mount: No such file or directory while determining whether /dev/discs/disc1/part2 is mounted.
    /dev/discs/disc1/part2: clean, 21608/140832 files, 105175/263064 blocks
    [admin@NAS /]$ e2fsck -p /dev/discs/disc1/part3
    ext2fs_check_if_mount: No such file or directory while determining whether /dev/discs/disc1/part3 is mounted.
    /dev/discs/disc1/part3: clean, 11/14499840 files, 455012/28977243 blocks
    Asus WL-500g.Premium with Oleg firmware version 1.9.2.7-10. dropbear - samba - lighttp - php - mysql - ftp - nzbget - transmission - mediatomb - syslog-ng

  2. #2
    Join Date
    Jul 2008
    Location
    Groningen, Netherlands
    Posts
    12
    Syslog: (partial)

    Jun 18 13:03:07 kernel: hub.c: new USB device 01:03.2-2, assigned address 3
    Jun 18 13:03:07 kernel: scsi1 : SCSI emulation for USB Mass Storage devices
    Jun 18 13:03:07 kernel: Vendor: FUJITSU Model: MHW2120BJ G2 Rev:
    Jun 18 13:03:07 kernel: Type: Direct-Access ANSI SCSI revision: 02
    Jun 18 13:03:07 kernel: Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0
    Jun 18 13:03:07 kernel: SCSI device sdb: 234441648 512-byte hdwr sectors (120034 MB)
    Jun 18 13:03:07 kernel: kjournald starting. Commit interval 5 seconds
    Jun 18 13:03:07 kernel: EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
    Jun 18 13:03:07 kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,2), internal journal
    Jun 18 13:03:07 kernel: EXT3-fs: recovery complete.
    Jun 18 13:03:07 kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Jun 18 13:03:07 kernel: Adding Swap: 250856k swap-space (priority -1)
    Jun 18 13:03:07 kernel: p1 p2 p3
    Jun 18 13:03:07 kernel: kjournald starting. Commit interval 5 seconds
    Jun 18 13:03:07 kernel: EXT3-fs warning: mounting fs with errors, running e2fsck is recommended
    Jun 18 13:03:07 kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,3), internal journal
    Jun 18 13:03:07 kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Asus WL-500g.Premium with Oleg firmware version 1.9.2.7-10. dropbear - samba - lighttp - php - mysql - ftp - nzbget - transmission - mediatomb - syslog-ng

  3. #3
    It's not a limitation of the kernel. I have 2 disks connected.

    it might help to use a powered hub or disk (in case the disk is not recognized)

    also have a look at 'fstab'

    post the output of 'fdisk -l'

  4. #4
    Join Date
    Jul 2008
    Location
    Groningen, Netherlands
    Posts
    12
    [admin@NAS root]$ fdisk -l

    Disk /dev/scsi/host0/bus0/target0/lun0/disc: 40.0 GB, 40020664320 bytes
    64 heads, 32 sectors/track, 38166 cylinders
    Units = cylinders of 2048 * 512 = 1048576 bytes

    Device Boot Start End Blocks Id System
    /dev/scsi/host0/bus0/target0/lun0/part1 1 245 250864 82 Linux swap
    /dev/scsi/host0/bus0/target0/lun0/part2 246 978 750592 83 Linux
    /dev/scsi/host0/bus0/target0/lun0/part3 979 38166 38080512 83 Linux

    Disk /dev/scsi/host1/bus0/target0/lun0/disc: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/scsi/host1/bus0/target0/lun0/part1 1 32 257008+ 82 Linux swap
    /dev/scsi/host1/bus0/target0/lun0/part2 33 163 1052257+ 83 Linux
    /dev/scsi/host1/bus0/target0/lun0/part3 164 14593 115908975 83 Linux
    Asus WL-500g.Premium with Oleg firmware version 1.9.2.7-10. dropbear - samba - lighttp - php - mysql - ftp - nzbget - transmission - mediatomb - syslog-ng

  5. #5
    Join Date
    Jul 2008
    Location
    Groningen, Netherlands
    Posts
    12

    Smile

    OPGELOST!

    Ik was bij mke2fs de optie -j vergeten.
    Ext2 wordt niet ondersteund, alleen ext3.

    [admin@NAS root]$ df
    Filesystem 1K-blocks Used Available Use% Mounted on
    rootfs 3072 3072 0 100% /
    /dev/root 3072 3072 0 100% /
    /dev/discs/disc0/part2
    738776 420836 280412 61% /opt
    /dev/discs/disc0/part3
    37482024 2263584 33314416 7% /mnt
    /dev/discs/disc1/part2
    1035692 32828 950252 4% /opt/opt2
    /dev/discs/disc1/part3
    114088932 131228 108162256 1% /mnt/mnt2
    Asus WL-500g.Premium with Oleg firmware version 1.9.2.7-10. dropbear - samba - lighttp - php - mysql - ftp - nzbget - transmission - mediatomb - syslog-ng

Similar Threads

  1. Problem: WL500gpV2, twonky, xbox360 and oleg.
    By chervee in forum WL-500gP Q&A
    Replies: 6
    Last Post: 29-08-2009, 16:53
  2. Multicast problem
    By luon in forum WL-500w Q&A
    Replies: 4
    Last Post: 03-07-2008, 12:26
  3. multi-call binary problem
    By lolo3773 in forum WL-500gP Q&A
    Replies: 0
    Last Post: 21-03-2008, 17:51
  4. Asus + Zadacom default gateway problem
    By Anttu in forum WL-500gP Q&A
    Replies: 5
    Last Post: 29-02-2008, 06:35
  5. WL-500gP and Asus support experience
    By Blezi in forum WL-500gP Q&A
    Replies: 6
    Last Post: 03-12-2006, 12:59

Posting Permissions

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