macsat.com OpenWrt and ASUS WL Forum
March 14, 2010, 00:22:53 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: MGB111 Data Loss ??? I need help  (Read 1149 times)
0 Members and 1 Guest are viewing this topic.
ischte
Newbie
*
Offline Offline

Posts: 7


View Profile
« on: July 13, 2009, 21:41:04 PM »

Hi there, i have a big problem with my fibronic MGB111 nas (R4.00b2 firmware):

I was using it with windows vista. I configured it as one public partition. I was browsing pictures in my /Public/Pictures directory when i suddenly wasn't able to access the directory any more. After a reboot I am still unable to access it because

there is no /mnt/C any more !!! It has gone? I don't know why...

Is there any possibility to recover my data? I didn't format or fdisk! So there must be my files on it but i can't mount...

plz help
Logged
Ernst
Full Member
***
Offline Offline

Posts: 112



View Profile
« Reply #1 on: July 14, 2009, 10:11:51 AM »

What have you tried? Have you treid accessing the MGB111 via telnet? If so what does a df command tell you? Is it mounted? If not; what does 'cat dmesg' tell you after a reboot? If for instance the drive contains errors so that it cannot be mounted, dmesg will contain some errror messages. Try an e2fsck /dev/hda from telnet and see what it reports.

If you have more information on error messages then let us know and I am sure that we can help you.

Ernst.
Logged
ischte
Newbie
*
Offline Offline

Posts: 7


View Profile
« Reply #2 on: July 14, 2009, 12:00:19 PM »

Thank you for your answer. I will have a look when i am back at home.
I can remember that "df" display something like

tmpfs /tmp
proc /ram0

but there is no hard disk mounted. /etc/mnt and /tmp/mnt only show "USB".
When I access the webconfig and go to "storage", then the option "guest" is activated, bit it was "authorized mode" before.
When i click on "authorized mode" i can choose to format the harddisk (of course i didn't).

Ischte
Logged
ischte
Newbie
*
Offline Offline

Posts: 7


View Profile
« Reply #3 on: July 14, 2009, 15:58:35 PM »

dmesg output:

# mount /dev/hd0
Can't find /dev/hd0 in /etc/fstab
# mount /dev/hd0 /tmp/mnt/C
mount: Mounting /dev/hd0 on /tmp/mnt/C failed: No such file or directory
# mount /dev/hd /tmp/mnt/C
mount: Mounting /dev/hd on /tmp/mnt/C failed: No such file or directory
# mount /dev/sda0 /tmp/mnt/C
mount: Mounting /dev/sda0 on /tmp/mnt/C failed: No such file or directory
# cd /
# cat dmesg
cat: dmesg: No such file or directory
# dmesg
Linux version 2.4.28 (root@localhost.localdomain) (gcc version 3.3.6) #248 So 17. Feb 13:51:17 CET 2008
BIOS-provided physical RAM map:
 BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e801: 0000000000100000 - 0000000002000000 (usable)
32MB LOWMEM available.
On node 0 totalpages: 8192
zone(0): 4096 pages.
zone(1): 4096 pages.
zone(2): 0 pages.
DMI not present.
Kernel command line: rw console=ttyS0,38400 aT
AÕTÖâ
Initializing CPU#0
Calibrating delay loop... 44.33 BogoMIPS
Memory: 29896k/32768k available (1140k kernel code, 2484k reserved, 720k data, 52k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
CPU:     After generic, caps: 00000000 00000000 00000000 00000000
CPU:             Common caps: 00000000 00000000 00000000 00000000
CPU: Cyrix Cx486SLC
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
squashfs: version 3.1 (2006/08/19) Phillip Lougher
NTFS driver v1.1.22 [Flags: R/O]
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: FFD00010-FFFA000F [VIRTUAL C2800010-C2AA000F] (RO) <NONE>
r6040: RDC R6040 RX NAPI net driver, version 0.15 (26Sep2006)
r6040: RDC R6040 RX NAPI net driver, version 0.15 (26Sep2006)
PCI: Setting latency timer of device 00:08.0 to 64
r6040: RDC R6040 RX NAPI net driver, version 0.15 (26Sep2006)
PCI: Setting latency timer of device 00:09.0 to 64
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
IT821x: unknown IDE controller at PCI slot 00:04.0, VID=1283, DID=8211
IT821x: chipset revision 17
IT821x: not 100% native mode: will probe irqs later
it8212: forcing bypass mode.
it821x: controller in pass through mode.
    ide0: BM-DMA at 0xa410-0xa417, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xa418-0xa41f, BIOS settings: hdc:pio, hdd:pio
hdc: SAMSUNG HD322HJ, ATA DISK drive
blk: queue c03054f4, I/O limit 4095Mb (mask 0xffffffff)
ide1 at 0x9c10-0x9c17,0xa012 on irq 9
hdc: attached ide-disk driver.
hdc: host protected area => 1
hdc: 625142448 sectors (320073 MB) w/16384KiB Cache, CHS=38913/255/63, UDMA(133)
Partition check:
 hdc:hdc1 hdc4
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
physmap flash device: 400000 at ffc00000
enter cfi_probe_chip
send query command 98 55
 Amd/Fujitsu Extended Query Table v1.1 at 0x0040
Physically mapped flash: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
ehci_hcd 00:0a.1: PCI device 17f3:6061
ehci_hcd 00:0a.1: irq 14, pci mem c2ea3000
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:0a.1: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 2 ports detected
kusbd: /sbin/hotplug add 1 0
host/usb-ohci.c: USB OHCI at membase 0xc2ea5000, IRQ 15
host/usb-ohci.c: usb-00:0a.0, PCI device 17f3:6060
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
kusbd: /sbin/hotplug add 1 0
usb.c: registered new driver usbscanner
scanner.c: 0.4.16:USB Scanner Driver
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
NET4: AppleTalk 0.18a for Linux NET4.0
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 52k freed
Adding Swap: 136512k swap-space (priority -1)
init_special_inode: bogus imode (116610)
EXT2-fs: corrupt root inode, run e2fsck
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 16:01.
PCI: Setting latency timer of device 00:01.0 to 64
device eth1 entered promiscuous mode
device wl0 entered promiscuous mode
br0: port 1(eth1) entering learning state
br0: port 1(eth1) entering forwarding state
br0: topology change detected, propagating


Seems that there is a problem with fstab Huh
Logged
ischte
Newbie
*
Offline Offline

Posts: 7


View Profile
« Reply #4 on: July 14, 2009, 16:06:07 PM »

Sorry. It seems to be the superblock. What to do?


# e2fsck /dev/hda
e2fsck 1.40.2 (12-Jul-2007)
ext2fs_check_if_mount: No such file or directory while determining whether /dev/                                                                             hda is mounted.
e2fsck: No such device or address while trying to open /dev/hda
Possibly non-existent or swap device?
# e2fsck /dev/hdc
e2fsck 1.40.2 (12-Jul-2007)
ext2fs_check_if_mount: No such file or directory while determining whether /dev/                                                                             hdc is mounted.
Couldn't find ext2 superblock, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/hdc

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

# e2fsck -b 8193 hdc
e2fsck 1.40.2 (12-Jul-2007)
ext2fs_check_if_mount: No such file or directory while determining whether hdc is mounted.
e2fsck: No such file or directory while trying to open hdc

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

# e2fsck -b 8193 /hdc
e2fsck 1.40.2 (12-Jul-2007)
ext2fs_check_if_mount: No such file or directory while determining whether /hdc is mounted.
e2fsck: No such file or directory while trying to open /hdc

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

#
Logged
ischte
Newbie
*
Offline Offline

Posts: 7


View Profile
« Reply #5 on: July 14, 2009, 16:08:20 PM »

# fdisk -l

Disk /dev/hdc: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdc1   *          18       38913   312432120   83  Linux
/dev/hdc4               1          17      136521   82  Linux swap / Solaris

Logged
ischte
Newbie
*
Offline Offline

Posts: 7


View Profile
« Reply #6 on: July 14, 2009, 17:49:50 PM »

After hours of e2fsck and correcting inodes, blocks, superblocks, bitmaps etc...
it seems that i can restore my data from lost+found. I pray now...
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

English Steel 1.6 © Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.086 seconds with 25 queries.