LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 09-19-2005, 11:18 PM   #1
gryphonavocatio
LQ Newbie
 
Registered: Sep 2005
Location: Santa Cruz, California
Distribution: Fedora Core
Posts: 3

Rep: Reputation: 0
Unhappy 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.
 
Old 09-20-2005, 05:39 AM   #2
saneax
Member
 
Registered: Aug 2004
Distribution: Gentoo, Suse, Fedora, Debian
Posts: 86

Rep: Reputation: 15
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
 
Old 09-20-2005, 01:14 PM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Good luck & please let us know what happened, I can see this happening to others.
 
Old 09-20-2005, 02:34 PM   #4
gryphonavocatio
LQ Newbie
 
Registered: Sep 2005
Location: Santa Cruz, California
Distribution: Fedora Core
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 09-20-2005, 07:45 PM   #5
gryphonavocatio
LQ Newbie
 
Registered: Sep 2005
Location: Santa Cruz, California
Distribution: Fedora Core
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 09-21-2005, 12:27 PM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 4: Editing system files as user JRR883 Linux - Newbie 22 01-02-2008 01:59 AM
WHY? Removed Fedora core 2, HD erased, cannot reinstall XP kendawg Fedora - Installation 3 06-13-2005 06:53 PM
Can Fedora Core 3 mount and read vmfs file system smkamene Linux - Software 2 01-24-2005 09:24 PM
how do i mount a ntfs file system with fedora core 1 redhat linux hackman__007 Linux - Newbie 7 09-06-2004 02:29 AM
System unusable after Fedora Core 2 upgrade tron_thomas Fedora - Installation 5 06-01-2004 10:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration