Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
|
 |
11-19-2004, 10:14 PM
|
#1
|
LQ Newbie
Registered: Oct 2004
Location: India
Distribution: Suse 9.1
Posts: 29
Rep:
|
unable to view contents of /home
contents of my home directory could not viewed. when i try to mount /home message comes: /home busy or mounted already.
when umount is tried the message: not mounted
my /home directory is on separate partition on the hard disk(/dev/sb1)
contents of /etc/fstab are:
/dev/sda1 / reiserfs acl,user_xattr 1 1
#/dev/sdb1 /home reiserfs acl,user_xattr 1 1
/dev/sda2 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrom /media/cdrom subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0
Morever when i removed the comment in line 2, there was no change.
pl help me out!
|
|
|
11-19-2004, 10:19 PM
|
#2
|
Member
Registered: Aug 2003
Location: Seattle
Distribution: Debian, Fedora, CentOS, FreeBSD, OpenSolaris
Posts: 138
Rep:
|
can you put the output of 'mount' here as well as the output of 'fdisk -l' please.
|
|
|
11-19-2004, 10:29 PM
|
#3
|
Member
Registered: Jun 2002
Posts: 411
Rep:
|
I crashed a hard drive recently
and the results were not great. i hope you have better luck than me.
based on my experience i would ask
1. if you have you reviewed the ouput of dmesg?
2 what is the output of:
fdisk -l /dev/dev/sdb1
3. what is the output of sbin/dumpe2fs /de/sdb1 (this will tell you lots of info including the location of superblocks)
if you see problems, you are probably going to need to read up on fsck and use one of the backup superblocks something like (assuming your backup superblock is 8193):
fsck -b 8193 /dev/sdb1
|
|
|
11-19-2004, 10:30 PM
|
#4
|
LQ Newbie
Registered: Oct 2004
Location: India
Distribution: Suse 9.1
Posts: 29
Original Poster
Rep:
|
out put of mount:
/dev/sda1 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda on /media/cdrom type subfs (ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)
/dev/fd0 on /media/floppy type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
usbfs on /proc/bus/usb type usbfs (rw)
output of 'fdisk -l':
Disk /dev/sda: 36.4 GB, 36401479680 bytes
255 heads, 63 sectors/track, 4425 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3917 31463271 83 Linux
/dev/sda2 3918 4425 4080510 82 Linux swap
Disk /dev/sdb: 36.4 GB, 36401479680 bytes
255 heads, 63 sectors/track, 4425 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 4425 35543781 83 Linux
Pl help!
|
|
|
11-19-2004, 11:04 PM
|
#5
|
LQ Newbie
Registered: Oct 2004
Location: India
Distribution: Suse 9.1
Posts: 29
Original Poster
Rep:
|
could not view contents of /home
thanx but i m unable to get the magic number by running dumpe2fs command
the exact out put is:
dumpe2fs 1.34 (25-Jul-2003)
/sbin/dumpe2fs: Bad magic number in super-block while trying to open /dev/sdb1
Couldn't find valid filesystem superblock.
|
|
|
All times are GMT -5. The time now is 12:38 PM.
|
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
|
|