LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 11-19-2004, 10:14 PM   #1
anubhuti_k
LQ Newbie
 
Registered: Oct 2004
Location: India
Distribution: Suse 9.1
Posts: 29

Rep: Reputation: 15
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!
 
Old 11-19-2004, 10:19 PM   #2
anonobomber
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: Debian, Fedora, CentOS, FreeBSD, OpenSolaris
Posts: 138

Rep: Reputation: 16
can you put the output of 'mount' here as well as the output of 'fdisk -l' please.
 
Old 11-19-2004, 10:29 PM   #3
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
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
 
Old 11-19-2004, 10:30 PM   #4
anubhuti_k
LQ Newbie
 
Registered: Oct 2004
Location: India
Distribution: Suse 9.1
Posts: 29

Original Poster
Rep: Reputation: 15
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!
 
Old 11-19-2004, 11:04 PM   #5
anubhuti_k
LQ Newbie
 
Registered: Oct 2004
Location: India
Distribution: Suse 9.1
Posts: 29

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


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
how to view contents of various partitions on disk skvasistha Linux - Software 1 11-23-2004 07:53 AM
unable to view contents of /home anubhuti_k General 4 11-20-2004 05:02 AM
gentoo: When mounting second cdrom I cant view its contents... ebenh Linux - Hardware 0 11-13-2004 12:39 PM
how to view contents of cd Synth218 Linux - Newbie 7 05-25-2003 06:34 PM
view contents in mounted partition macshark Linux - General 3 01-20-2003 10:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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