Results 1 to 5 of 5

Thread: Mounting ext2 partitions

  1. #1

    Mounting ext2 partitions

    I've got two ext2 partitions on my harddisk, work fine with ASUS firmware but OLEG does not seem to find them. I've searched this forum but found nothing. What to do?

    Here's a part of the log:

    Jan 1 01:00:07 kernel: Vendor: Maxtor Model: 3200 Rev: 0341
    Jan 1 01:00:07 kernel: Type: Direct-Access ANSI SCSI revision: 02
    Jan 1 01:00:07 kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
    Jan 1 01:00:07 kernel: SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
    Jan 1 01:00:07 kernel: Partition check:
    Jan 1 01:00:07 kernel: p1 p2
    Jan 1 01:00:07 kernel: USB Mass Storage support registered.
    Jan 1 01:00:17 kernel: VFS: Can't find ext3 filesystem on dev sd(8,0).
    Jan 1 01:00:17 kernel: MSDOS FS: Using codepage 950
    Jan 1 01:00:17 kernel: MSDOS FS: IO charset cp950
    Jan 1 01:00:17 kernel: FAT: bogus logical sector size 22278
    Jan 1 01:00:17 kernel: VFS: Can't find a valid FAT filesystem on dev 08:00.
    Jan 1 01:00:17 kernel: FAT: freeing iocharset=cp950
    Jan 1 01:00:17 kernel: FAT: bogus logical sector size 22278
    Jan 1 01:00:17 kernel: VFS: Can't find a valid FAT filesystem on dev 08:00.
    Jan 1 01:00:17 kernel: ext3: No journal on filesystem on sd(8,1)
    Jan 1 01:00:17 kernel: MSDOS FS: Using codepage 950
    Jan 1 01:00:17 kernel: MSDOS FS: IO charset cp950
    Jan 1 01:00:17 kernel: FAT: bogus logical sector size 63222
    Jan 1 01:00:17 kernel: VFS: Can't find a valid FAT filesystem on dev 08:01.
    Jan 1 01:00:17 kernel: FAT: freeing iocharset=cp950
    Jan 1 01:00:17 kernel: FAT: bogus logical sector size 63222
    Jan 1 01:00:17 kernel: VFS: Can't find a valid FAT filesystem on dev 08:01.
    Jan 1 01:00:17 kernel: ext3: No journal on filesystem on sd(8,2)
    Jan 1 01:00:17 kernel: MSDOS FS: Using codepage 950
    Jan 1 01:00:17 kernel: MSDOS FS: IO charset cp950
    Jan 1 01:00:17 kernel: FAT: bogus logical sector size 63222
    Jan 1 01:00:17 kernel: VFS: Can't find a valid FAT filesystem on dev 08:02.
    Jan 1 01:00:17 kernel: FAT: freeing iocharset=cp950
    Jan 1 01:00:17 kernel: FAT: bogus logical sector size 63222
    Jan 1 01:00:17 kernel: VFS: Can't find a valid FAT filesystem on dev 08:02.

  2. #2
    You could try setting up the drive's partitions from within Oleg's firmware, but that would make you lose any data that is currently on your drive.

    Code:
    fdisk /dev/scsi/host0/bus0/target0/lun0/disc
    mke2fs -j /dev/scsi/host0/bus0/target0/lun0/part1

  3. #3
    Did you try to mount your harddisc manually? If I plug my USB HDD (partition 1: VFAT, 2: Swap, 3: ext3) or a ext3 formatted USB stick in my WL500GP I get precisely the same messages. Anyway, if I try to mount the partition manually, this works without problems.

    If this works you could just add the following to your /usr/local/sbin/post-boot script:
    Code:
    # test if USB disc has been attached
    # if not - then insert needed modules
    if [ ! -d /dev/discs ]
    then
      insmod scsi_mod && insmod sd_mod && insmod usb-storage && sleep 5s
    fi
    
    #Wait for /opt to mount
    mount /dev/discs/disc0/part3 /opt
    i=0
    while [ $i -le 30 ]
    do
      if [ -d /opt/etc ]
      then
        break
      fi
      sleep 1
      i=`expr $i + 1`
    done
    
    # Activate swap
    swapon /dev/discs/disc0/part2
    This activates the swap partition and mounts the harddisc to the /opt directory. Works perfectly for me.

  4. #4
    Had the same problem after upgrading to Olegs firm.

    Solved it by pluging the USB disk into a linux box and created a journal

    (ext3 = ext2 + journal)

    For example, if the USB disk is assigned to the device (/dev/sdb1) when pluged into a linux box, then the command for journal creation is:

    tune2fs -j /dev/sdb1

    perfectly safe (no data is lost in the process).
    Last edited by xpto.xpto; 13-12-2006 at 20:53.

  5. #5
    Quote Originally Posted by Kosh View Post
    Did you try to mount your harddisc manually? If I plug my USB HDD (partition 1: VFAT, 2: Swap, 3: ext3) or a ext3 formatted USB stick in my WL500GP I get precisely the same messages. Anyway, if I try to mount the partition manually, this works without problems.

    If this works you could just add the following to your /usr/local/sbin/post-boot script:
    Code:
    # test if USB disc has been attached
    # if not - then insert needed modules
    if [ ! -d /dev/discs ]
    then
      insmod scsi_mod && insmod sd_mod && insmod usb-storage && sleep 5s
    fi
    
    #Wait for /opt to mount
    mount /dev/discs/disc0/part3 /opt
    i=0
    while [ $i -le 30 ]
    do
      if [ -d /opt/etc ]
      then
        break
      fi
      sleep 1
      i=`expr $i + 1`
    done
    
    # Activate swap
    swapon /dev/discs/disc0/part2
    This activates the swap partition and mounts the harddisc to the /opt directory. Works perfectly for me.
    Well Done !!!

    I had the same problem, to activate and mount the sticks without running the stupid-ftp-deamon

    THANKS
    cu

    exdlinker

    old: DI-624
    new: WL500gP

Similar Threads

  1. internal hd not mounting?!
    By hullahulla in forum WL-HDD Q&A
    Replies: 14
    Last Post: 24-08-2006, 09:01
  2. Replies: 3
    Last Post: 04-05-2006, 13:46
  3. Mounting ??
    By Willie2_z in forum WL-500g Q&A
    Replies: 0
    Last Post: 30-03-2006, 18:39
  4. Loop device mounting - not a block device
    By pardonfiu in forum WL-500g Q&A
    Replies: 0
    Last Post: 16-01-2006, 15:14
  5. Can't create partitions
    By sjdigital in forum WL-HDD Q&A
    Replies: 3
    Last Post: 07-01-2006, 18:13

Posting Permissions

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