Bekijk de volledige versie : USB - Disk free space: 0 bytes
I have a problem :
I'm connected via samba to my USB external disk (connected to the router)
And both in windows and the ssh session tells me that the disk is full (no empty space)
> df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 2880 2880 0 100% /
/dev/discs/disc0/part1 240292420 240292420 0 100% /opt
This is strange because i've deleted alot os stuff, but there not seems to be any space free :(
Please help
Partial solution:
http://wl500g.info/showpost.php?p=62594&postcount=13
is it normal that the /share/terminfo takes 12GB ?
I think is too much...
I've deleted now :P
rm * -rf
but still:
df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 2880 2880 0 100% /
/dev/discs/disc0/part1 240292420 240286124 0 100% /opt
Hi and sorry my english.
Perhaps, mount type is ro (read-only)?
Check this: mount
The end of line you look the mount type (ro, rw, noatime, etc).
George
:(
Unfortunaly no:
mount
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/discs/disc0/part1 on /opt type ext3 (rw)
/dev/discs/disc0/part1 on /tmp/harddisk type ext3 (rw)
df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 2880 2880 0 100% /
/dev/discs/disc0/part1 240292420 240286228 0 100% /opt
/dev/discs/disc0/part1 240292420 240286228 0 100% /tmp/harddisk
What i dont understand is big space that some folders take "/share" +1GB (because ive deleted a folder with 12 GB :eek: )
Another problem is that i cant delete anything in my laptop (via wireless) with Vista. " Says i dont have permission...
EDIT:
Just deleted another 4.5GB
df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 2880 2880 0 100% /
/dev/discs/disc0/part1 240292420 234965844 0 100% /opt
/dev/discs/disc0/part1 240292420 234965844 0 100% /tmp/harddisk
Going to try
fsck.ext3
...
fsck -v /dev/discs/disc0/part1
fsck 1.40 (29-Jun-2007)
WARNING: couldn't open /etc/fstab: No such file or directory
e2fsck 1.38 (30-Jun-2005)
/dev/discs/disc0/part1 is mounted.
WARNING!!! Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.
Do you really want to continue (y/n)? y
yes
MyBook: recovering journal
Backing up journal inode block information.
MyBook has been mounted 113 times without being checked, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
MyBook: ***** FILE SYSTEM WAS MODIFIED *****
7883 inodes used (0%)
3658 non-contiguous inodes (46.4%)
# of inodes with ind/dind/tind blocks: 4751/3281/8
59699304 blocks used (97%)
0 bad blocks
10 large files
7176 regular files
593 directories
0 character device files
0 block device files
0 fifos
7 links
105 symbolic links (105 fast symbolic links)
0 sockets--------
7881 files
but still the same
Well.... I'm geting a bit crazy with this ....
Now i've unmounted the disk
umount -l /opt
and runned
> fsck.ext3 /dev/discs/disc0/part1
e2fsck 1.38 (30-Jun-2005)
MyBook: recovering journal
MyBook: clean, 7883/30523392 files, 59699307/61030927 blocks
rebooted, but the same result ...
/dev/discs/disc0/part1 240292420 240286228 0 100% /opt
/dev/discs/disc0/part1 240292420 240286228 0 100% /tmp/harddisk
Why do you have the same disk partition mounted on 2 different locations ?
Max
Why do you have the same disk partition mounted on 2 different locations ?
Max
I dont know :P
Only happened once, now is only mounted once.
df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 2880 2880 0 100% /
/dev/discs/disc0/part1 240292420 234965764 0 100% /opt
What happen if i delete all the folders exept the /home (were i have all my files) ?
I'm thinking off delete, and if necessary to run to make a fresh start :P
Hi zzzpt,
Are you still having issue? Can you share us how to fix it ? I have the same issue this morning, I ran the same fix command and now, I am not able to mount the HD, it tells me Invalid Argument.
i went in vacation....
But now im at home and the problem persists :P
Going to delete all the folders in the Disk, except the /home folder(with all my data)
Maybe will reset the router, make the tutorial (http://wl500g.info/showthread.php?t=5909) all again ....
.....
Deleted all the folders except the /home
Now i cant mount the partition "Invalid argument" :mad:
tryed:
e2fsck -n /dev/discs/disc0/part1
e2fsck: e2fsck_read_bitmaps: illegal bitmap block(s) for MyBook
HI zzzpt,
Same here, after the e2fsck , all my files inside the HD gone and only lost + found directory there, I have to reformate the entire HD and starts again. It is just like a nightmare, I am now not dare to save files into my 320g HD. Just don't want to loss all my stuff again..... :(
i dont even have the lost+found folder :(
i'm still hoping to recover...
What kind of files do you want to recover? Here's my process for general purpose recovery:
1) make an image with dd_rescue
2) run testdisk on the image
3) run foremost on the image
4) run photorec on the image
Photorec and Testdisk are both by the same author. Foremost is a data recovery tool developed by the US Airforce (I think). Typically I'm just recovering jpegs, movies, documents, etc.
https://help.ubuntu.com/community/DataRecovery
WEEEEEE
SUCCESS
Solution (make backups if you can :p)
mke2fs -S /dev/ida/c0d0p7
fsck ...
mount
:D
Some more info
Somebody with the same problem resolved this way:
http://shon.org/blog/?p=25
[root@adrock init.d]# dd if=/dev/ida/c0d0p7 of=/big/var.bak.dd
530368+0 records in
Still hosed, but now I have a backup of the burnination. And now for the FIX!!!
mke2fs -S /dev/ida/c0d0p7
mke2fs 1.27 (8-Mar-2002)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
66528 inodes, 265184 blocks
13259 blocks (5.00%) reserved for the super user
First data block=1
33 block groups
8192 blocks per group, 8192 fragments per group
2016 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185
Writing superblocks and filesystem accounting information: done
That did it! mke2fs re-wrote all of the superblocks and group descriptors and I was able to mount in RO mode and copy off the data. After that I was able to fsck and remount the original parition with no problems!
other case:
http://user-mode-linux.sourceforge.net/old/sdotm.html
Wow,,, nice that you can recover your data.. i just wonder how it become so easy to crash the data. i am still not dare to put important data in it.