Hi,
Thanks for the reply. So this is the output command of "mount"
# mount
/dev/root on /initrd type jffs2 (rw)
/dev/sda1 on / type ext3 (rw)
proc on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/sda1 on /share/flash/data type ext3 (rw)
/dev/sda2 on /share/flash/conf type ext3 (rw,sync)
I take it sda1 & sda2 are 2 different partition on my main disk?
So that will be /sbin/e2fsck /dev/sdb?
Another question, will it be safe for me to do this via the usb hub? Since the config on my box is
Disk 2 -> main disk
Disk 1 -> usb hub -> 2nd disk (where the content can't be seen no more)
Thanks,
Victor
2009/11/20 rolandkbs <roland.krebs@koff.ch >
I suppose the drive is not mounted. You can check this by connecting to the NSLU2 via telnet and using the command 'mount'. If the partition of this disk is not in the list, then it's most probably because the partition is marked as 'dirty'.
I would put the disk to your Linux Live CD-system and do a fsck (or /sbin/e2fsck /dev/sd?? if you do it on the NSLU2).
regards, Roland
--- In nslu2-linux@yahoogroups. , Victor Hadianto <victor@...> wrote:com
>
> Hi,
>
> For months I've been running NSLU2 (Unslung) with 2 disk configuration. Disk
> 1 & Disk 2. Disk 2 is my "main" disk, while Disk 1 port is connected to a
> USB Hub where my other drive is connected.
>
> This configuration works fine, but last weekend I can't see Disk 1 any more.
> The disk is on but when I browse to /hdd2 it's empty.
>
> I downloaded a Linux Live CD and connected that drive to my PC and I can see
> that the drive is not gone, I can see all my files.
>
> Anyone has any ideas? I tried rebooting NSLU2 several times and still no
> luck.
>
> Help ...
>
> Victor
>
__._,_.___
.
__,_._,___
No comments:
Post a Comment