Re: lug-bg: EXT3 äÿë íå ùå äà ñå mount-âà ! Help !
- Subject: Re: lug-bg: EXT3 äÿë íå ùå äà ñå mount-âà ! Help !
- From: "Lyubomir Babukchiev" <Lupos@xxxxxxxxx>
- Date: Fri, 26 Sep 2003 00:08:48 +0300 (EEST)
- Importance: Normal
> Kakyv e harddiska?
> dmesg | grep hda
#fdisk -l /dev/hda
Disk /dev/hda: 2559 MB, 2559836160 bytes
128 heads, 63 sectors/track, 620 cylinders
Units = cylinders of 8064 * 512 = 4128768 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 76 306400+ 83 Linux
/dev/hda2 604 620 68544 82 Linux swap
/dev/hda3 385 603 883008 83 Linux
/dev/hda4 77 384 1241856 5 Extended
/dev/hda5 77 384 1241824+ 83 Linux
Partition table entries are not in disk order
__________________________________________________________________
#dmesg | grep hda
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
hda: WDC AC32500H, ATA DISK drive
hda: Disabling (U)DMA for WDC AC32500H
hda: 4999680 sectors (2560 MB) w/128KiB Cache, CHS=620/128/63
hda: hda1 hda2 hda3 hda4 < hda5 >
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=612927, sector=0
end_request: I/O error, dev 03:05 (hda), sector 0
_________________________________________________________________
#mke2fs -n /dev/hda5
mke2fs 1.32 (09-Nov-2002)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
155520 inodes, 310456 blocks
15522 blocks (5.00%) reserved for the super user
First data block=0
10 block groups
32768 blocks per group, 32768 fragments per group
15552 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
______________________________________________________________
#debugfs -s 32768 -b 4096 /dev/hda5
/dev/hda5: Can't read an block bitmap while reading block bitmap
__________________________________________________________________
- Реших смело да пусна e2fsck ...така или иначе нещата загрубяха ...
#e2fsck -b 32768 -B 4096 -y -v /dev/hda5
Unattached inode 411
Connect to /lost+found<y>? yes
Inode 411 ref count is 2, should be 1. Fix<y>? yes
.............................................................
Inode 140302 ref count is 3, should be 2. Fix<y>? yes
Inode 140371 ref count is 3, should be 2. Fix<y>? yes
Pass 5: Checking group summary information
Force rewrite<y>? yes
yBlock bitmap differences: +(0--5081) +(5647--5659) +(5668--5725)
+(5730--6010) +(6015--6604) +(6608--6618) +6631 +(6638--6641) +6650
+(6655--6656) +(6668--6718) +(6724--6725) +(6732--6736) +(6740--6744)
+(6748--6757) +(6767--6824) .........
.............................................................
Free inodes count wrong for group #9 (13101, counted=13129).
Fix<y>? yes
Free inodes count wrong (134669, counted=134937).
Fix<y>? yes
.............................................................
/dev/hda5: ***** FILE SYSTEM WAS MODIFIED *****
20583 inodes used (13%)
699 non-contiguous inodes (3.4%)
# of inodes with ind/dind/tind blocks: 1003/20/0
194584 blocks used (62%)
0 bad blocks
0 large files
16121 regular files
4443 directories
0 character device files
0 block device files
0 fifos
-22 links
10 symbolic links (10 fast symbolic links)
0 sockets
20473 files
- След доста грешки най-накрая свърши проверката. Пробвах пак да mount-a
но не стана отново:
_________________________________________________________________
#mount -t ext3 -o sb=32768,bs=4096,ro /dev/hda5 /mnt/hd
mount: wrong fs type, bad option, bad superblock on /dev/hda5,
or too many mounted file systems
________________________________________________________________
#debugfs -s 32768 -b 4096 /dev/hda5
debugfs 1.32 (09-Nov-2002)
debugfs: ls
2 (12) . 2 (12) .. 11 (20) lost+found 31105 (12) Temp
108865 (16) hlds_l 15628 (16) squid 110134 (12) goro
658 (24) psychostats1.9 124559 (40) www 62841 (3932) tmp
Но с debugfs вече мога да ходя в директориите и да преглеждам файлове с
"cat". Но неразбрах с това debugfs могат ли да се копират файлове ?
Да си спася поне *.conf файловете.
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|