LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-02-2003, 03:38 PM   #1
swoppe
Member
 
Registered: May 2003
Location: Sweden, Västerås
Distribution: Fedora, OpenBSD 3.4
Posts: 39

Rep: Reputation: 15
filsystem troubel...


Hi!
I think I made somthing stupid...

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

is there somting i can do to fix this?

Last edited by swoppe; 11-02-2003 at 03:41 PM.
 
Old 11-02-2003, 03:55 PM   #2
swoppe
Member
 
Registered: May 2003
Location: Sweden, Västerås
Distribution: Fedora, OpenBSD 3.4
Posts: 39

Original Poster
Rep: Reputation: 15
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...

Oh btw Im using Fedora test3
 
Old 11-02-2003, 04:05 PM   #3
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
lol I don't think pm can resise linux partitions due to filesystem. I could be wrong though
 
Old 11-02-2003, 04:09 PM   #4
swoppe
Member
 
Registered: May 2003
Location: Sweden, Västerås
Distribution: Fedora, OpenBSD 3.4
Posts: 39

Original Poster
Rep: Reputation: 15
pm has support for ext2 and 3, thats not the problem, i think... that depends.... =)
 
Old 11-02-2003, 04:17 PM   #5
swoppe
Member
 
Registered: May 2003
Location: Sweden, Västerås
Distribution: Fedora, OpenBSD 3.4
Posts: 39

Original Poster
Rep: Reputation: 15
I just got a whacky ides.... will the system boot without a /var, and so is it possibel to get the thing to work without a reinstall?
 
Old 11-02-2003, 04:17 PM   #6
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
ok, glad to know another prog is suporting linux

next time try parted, supposedly same but for linux
 
Old 11-02-2003, 04:18 PM   #7
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
uhm maybe it will run.. I doubt i and would not try it,
 
Old 11-02-2003, 04:18 PM   #8
swoppe
Member
 
Registered: May 2003
Location: Sweden, Västerås
Distribution: Fedora, OpenBSD 3.4
Posts: 39

Original Poster
Rep: Reputation: 15
exodist: i will, belive me i will =) not use pm again that is =)

Last edited by swoppe; 11-02-2003 at 04:23 PM.
 
Old 11-02-2003, 04:33 PM   #9
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
lol the way you typed that amuses me for some reason... heh good plan :-D
 
Old 11-03-2003, 06:12 AM   #10
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
Howzit

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

hope this works for u

chow
 
Old 11-03-2003, 03:39 PM   #11
swoppe
Member
 
Registered: May 2003
Location: Sweden, Västerås
Distribution: Fedora, OpenBSD 3.4
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks for the help, I'm reinstalling now (seams to be less work), and I'm staying away from pm =)

Thank you!
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade troubel slack 10.1 to slack 10.2 delta function Slackware 3 10-19-2005 11:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:48 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