LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-31-2004, 03:35 AM   #1
Henster
Member
 
Registered: Jul 2004
Posts: 45

Rep: Reputation: 15
mtab and fstab problems


Hi,

In the devices tab of konqueror I'm seeing 4 hard disks for one physical drive. The drive has been partitioned into 3.. a win partition, linux part and a swap part. I'm getting two mount points for / and what is this /var/lib/nfs/rpc_pipefs hard disk?

When I try to open them it tells me how hdc2 is already mounted...

And I can't write to my windows partition from linux (its fat32).

Anyway, I'm guessing I've messed up the fstab/mtab business so if anybody could help here they are....

FSTAB

LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hdc3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hdc1 /mnt/windows vfat rw 0 0

MTAB

/dev/hdc2 / ext3 rw 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
none /dev/shm tmpfs rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
/dev/hdb /mnt/cdrom1 iso9660 ro,nosuid,nodev,user=henry 0 0
/dev/hda /mnt/cdrom iso9660 ro,nosuid,nodev,user=henry 0 0

I would play around ,yself but i'm a bit nervous...

Cheers
H
 
Old 08-31-2004, 05:18 AM   #2
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 31
The /var/lib/nfs/rpc_pipefs is a bit complex. You need it, so don't mess with it.

As I'm sure you have already figured out - all of linux is fille based - devices, processes, etc......

Well, when one process needs to communicate with another process, a "pipe" is opened for the duration of that communication, and then torn down.

/var/lib/nfs/rpc_pipefs is a location where these pipes are stored. Think of it as kinda like a swap drive for your processes

As for your windows drive, your mtab does not reflect it as being mounted.

As root:

Code:
mount -t vfat  /dev/hdc1 /mnt/windows
Good luck..

Last edited by PenguinPwrdBox; 08-31-2004 at 05:39 AM.
 
Old 08-31-2004, 05:25 AM   #3
Henster
Member
 
Registered: Jul 2004
Posts: 45

Original Poster
Rep: Reputation: 15
Thanks for the reply. I have the mounting of the windows partition done in fstab... the bottom line I think. The options "rw" ( I'm guessing read/write ) arent working for me... I can only read.

And what about the warning messages telling me that the drives are already mounted? and me having two / mount points in konqueror?

Cheers
H
 
Old 08-31-2004, 05:27 AM   #4
Henster
Member
 
Registered: Jul 2004
Posts: 45

Original Poster
Rep: Reputation: 15
Are fstab and mstab run one after the other? Whats the difference between them?... hmm. confused.

Thanks again
H
 
Old 08-31-2004, 05:38 AM   #5
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 31
You don't have /dev/hdc1 mounted.

Your fstab is a table of your drives, and how the kernel is to mount them
Your mtab is a table that lists currently mounted file systems, and what options were used to mount them.

As for your other questions, I'm really not for sure why you would have . in two places........there is no indication in your fstab of what or how this was done........
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
How to edit mtab/fstab g-string 3 Linux - Distributions 4 02-03-2006 04:27 PM
how to edit fstab/mtab? g-string 3 Linux - General 7 11-21-2004 08:17 AM
/etc/fstab or /etc/mtab praveenv Linux - Newbie 1 08-17-2004 04:03 AM
use mtab as fstab?hi rgiggs Mandriva 5 06-08-2004 12:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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