Red HatThis forum is for the discussion of Red Hat Linux.
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.
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.
When i installed RH i made the /var partition to small... (mutch to small), so i got the idea to use partition magic to resize my /var and at the same time i resized the /tmp partition...
The /tmp partition mounts fine, but not the /var
The disk locks somthing like this:
/dev/hda1 window$
/dev/hda2 /boot
/dev/hda3 /
/dev/hda4 this one claimes to be win95 ext'd (LBA)
/dev/hda5 swap
/dev/hda6 /var (broken)
/dev/hda7 /tmp
More info!
When i do mount -a I get mount: special device LABEL=/var does not exist
so I tried to do mount -t ext3 /dev/hda6 /mnt i get bad superblock on /dev/hda6...
I have used Pm before with no side effects and it´s a excellent chioce for a comercial product but parted works well for someone that doesn't want to spend the extra buck. I suggest that u have a var as most apps use this area like you crontab which does your house keeping. All logs get written to this area which could be critical for futur errors u may encounter. Therefor I think it´s a pretty important to have a /var.
try these cmds to see if u r able to recover /var. As u said in the post it has a bad superblock therfor it can't see any meta data and how to get to the next block try this cmd to replace the bad block e2fsck -b 8193 /dev/?, when doing this partition must be unmounted. fsck -t /dev/?
Last but not least can delete partion and recreate it from scartch but not sure if apps will creat the dir needed automatically may have to copy from another machine or maybe reinstall
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.