Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-19-2005, 11:18 PM
|
#1
|
LQ Newbie
Registered: Sep 2005
Location: Santa Cruz, California
Distribution: Fedora Core
Posts: 3
Rep:
|
Files removed from file system during Fedora Core Upgrade
Hello. I'm new here. Unfortunately, I come to you with a problem.
I am a Fedora Core user. I just upgraded from Fedora Core 3 to 4 today. Upon rebooting, I discovered that the directory wherein I stored all of my media files had mysteriously vanished (almost 50GB!!).
I'm guessing that this is because I put the directory in the /misc folder, and now that seems stupid, but I did it a long time ago and never bothered to change it. Is this the reason?
But it doesn't seem that the files were deleted, just removed from teh file system. I scanned /dev/mapper/VolGroup00-LogVol00 (the logical volume my root file system is on) with Filelight, and it says that the volume is using 53 GB of it's 168 GB, but that the root file system is only using 6.1 gb.
53 - 6 = 47, the amount of missing data.
I know, this one is bizarre. Any help would be truly appreciated. At the very least, I would like to be able to get back the disk space the missing files are taking up, but I would like the files if at all possible.
Last edited by gryphonavocatio; 09-19-2005 at 11:19 PM.
|
|
|
09-20-2005, 05:39 AM
|
#2
|
Member
Registered: Aug 2004
Distribution: Gentoo, Suse, Fedora, Debian
Posts: 86
Rep:
|
Best way to find what has happened is
1) Check what Partitions you have..
#> cat /etc/fstab
and mark all those starting with /dev/mapper/Vol...
2) run mount command to see if they all are mounted
#>mount
3) If not manually mount them
mount -t ...
4) issue a find for your media files... (assuming .mp3 files)
#>find / -name *.mp3 -print
Check if you can locate any of the missing files ? If Yes then mark the folder and that your folder...
Otherwise you might have just deleted in autopartitioning (maybe!)
regards
|
|
|
09-20-2005, 01:14 PM
|
#3
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Good luck & please let us know what happened, I can see this happening to others.
|
|
|
09-20-2005, 02:34 PM
|
#4
|
LQ Newbie
Registered: Sep 2005
Location: Santa Cruz, California
Distribution: Fedora Core
Posts: 3
Original Poster
Rep:
|
I checked out my fstab and compared it to mount:
Code:
# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hda1 /mnt/hda1 auto defaults 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0
/dev/hdc /media/cdrom auto pamconsole,exec,noauto,managed 0 0
# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda2 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda1 on /mnt/hda1 type vfat (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
automount(pid2080) on /misc type autofs (rw,fd=4,pgrp=2080,minproto=2,maxproto=4)
automount(pid2133) on /net type autofs (rw,fd=4,pgrp=2133,minproto=2,maxproto=4)
I noticed that /dev/hdb1 did not seem to be mounted according to this, so I tried to mount it, but with no luck:
Code:
# mount -t ext3 /dev/hdb1 /
mount: /dev/hdb1 already mounted or / busy
mount: according to mtab, /dev/mapper/VolGroup00-LogVol00 is already mounted on /
I have also tried searching the file system for lost file names, and I have looked for folders of similar in size to the one that disappeared. No luck.
|
|
|
09-20-2005, 07:45 PM
|
#5
|
LQ Newbie
Registered: Sep 2005
Location: Santa Cruz, California
Distribution: Fedora Core
Posts: 3
Original Poster
Rep:
|
I've decided that since I have most of the missing files backed up on a couple of other computers, I'm just going to scrap this. SInce it's a new computer anyway, I'm not standing to lose much. I'm just going to back up ~ and reinstall, this time with a better partition setup.
All I can really say about this is that it pays to have files backed up, and be mindful of where you put things on your system.
By the way, does anybody know what the /misc directory is for?
Thanks for the help, though.
|
|
|
09-21-2005, 12:27 PM
|
#6
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
There is no mention of '/misc' in the current (2.3) ver. of the FHS (Filesystem Hierarchy Standard), or its predecessor Linux Filesystem Structure -- Release 1.2. I have just checked 4 distros: SimplyMEPIS 3.3, SmoothWall Express, FC3, & FC4. Only the FC's have a '/misc'. My memory says that RH 8.0 & 7.3 also had this directory, maybe it's a RedHat-ism.
At one time I thought that it is for miscellaneous packages (if I were correct, it would seem to have been replaced by '/opt'). However, at least one piece of RH documentation seems to indicate that it's for NFS sharing.
|
|
|
All times are GMT -5. The time now is 10:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|