LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   unable to view contents of /home (https://www.linuxquestions.org/questions/linux-software-2/unable-to-view-contents-of-home-257092/)

anubhuti_k 11-19-2004 10:14 PM

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!

anonobomber 11-19-2004 10:19 PM

can you put the output of 'mount' here as well as the output of 'fdisk -l' please.

rioguia 11-19-2004 10:29 PM

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

anubhuti_k 11-19-2004 10:30 PM

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!

anubhuti_k 11-19-2004 11:04 PM

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 01:01 AM.