Re: fstab

From: Bret Hughes (bhughes_at_elevating.com)
Date: 08/13/03

  • Next message: bEEnHeX: "What is the difference between Samba and NFS?"
    To: redhat-list@redhat.com
    Date: 13 Aug 2003 01:30:36 -0500
    
    

    On Wed, 2003-08-13 at 00:53, Daniel Tan wrote:
    > with swap enable, editing fstab yield nothing again. editing and trying to
    > save the file, i get "fstab" E212: Can't open file for writing.
    >
    > still unable to remount it.

    what are you using to edit it?

    Can you save a file at all?

    echo "test text" > /etc/testfile

    what are the perms on /etc/fstab

    ls -l /etc/fstab

    > ----- Original Message -----
    > From: "Bret Hughes" <bhughes@elevating.com>
    > To: <redhat-list@redhat.com>
    > Cc: <danieltan@shopnsave.com.sg>
    > Sent: Wednesday, August 13, 2003 1:27 PM
    > Subject: Re: fstab
    >
    >
    > On Tue, 2003-08-12 at 23:25, Daniel Tan wrote:
    > > i'm at (repair filesystem) # prompt..after entering root password
    > > / is mounted but i can't umount it at all...
    > >
    > > running mount -n / -o remount,rw
    > > came out mount: / not mounted already , or bad option
    > >
    > > running mount came out /dev/sda6 on / type ext3 (rw)
    > > none on /proc type proc (rw)
    > > see there is rw in there but am not able to write anything on /, editing a
    > > file prompts swap not enabled but i can edit but not save the file.
    >
    > This would be easier for someone else to follow if you would not top
    > post.
    >
    > Well since there is no swap enabled lets enable some. I have never done
    > this without an fstab but the manpage for swapon seems to indicate that
    >
    > swapon /dev/whatever
    >
    > should work.
    >
    > so assumming that your swap partition is the same as root, try
    >
    > fdisk -l /dev/sda
    >
    > and see which partition is swap and use that in the above swapon
    > command.
    >
    > Bret
    >
    >
    > --
    > redhat-list mailing list
    > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list
    >
    > --
    > This message has been scanned for viruses and
    > dangerous content by Email Virus Scanner, and is
    > believed to be clean.
    >
    >
    >
    > --
    > This message has been scanned for viruses and
    > dangerous content by Email Virus Scanner, and is
    > believed to be clean.
    >
    >
    > --
    > redhat-list mailing list
    > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: bEEnHeX: "What is the difference between Samba and NFS?"

    Relevant Pages

    • Re: fstab
      ... perms on fstab file after i changed is rwxrw-rw- ... i am using vi to edit the file... ... >> file prompts swap not enabled but i can edit but not save the file. ... > dangerous content by Email Virus Scanner, ...
      (RedHat)
    • Re: fstab
      ... played around with the numbers of /dev/sda1-6 around fstab and now it is ... >> file prompts swap not enabled but i can edit but not save the file. ... > dangerous content by Email Virus Scanner, ... > believed to be clean. ...
      (RedHat)
    • Re: fstab
      ... editing fstab yield nothing again. ... i get "fstab" E212: ... > file prompts swap not enabled but i can edit but not save the file. ... This message has been scanned for viruses and dangerous content by Email Virus Scanner, and is believed to be clean. ...
      (RedHat)
    • Re: [PATCH v2] After swapout/swapin private dirty mappings are reported clean in smaps
      ... Just because a private dirty page became part of swap cache, ... If it is shown as clean and backed by ... reporting what's there, the fault doesn't lie in smaps. ...
      (Linux-Kernel)
    • Re: Playfield Swap questions
      ... Not really.If you have everything off the top to clean and wax, ... everything off the bottom to clean and rebuild, ... When I do a swap, it is kinda like painting a room. ... Best advice for a first time swap, take many many pictures from all ...
      (rec.games.pinball)