Newbie needs help - server installation

Discussion in 'Installation/Configuration' started by QPRWinst, Sep 13, 2010.

  1. QPRWinst

    QPRWinst New Member

    Hi all

    I am following the How to for Ubuntu 10.04 server setup.

    I entered the following commands as instructed


    touch /aquota.user /aquota.group

    chmod 600 /aquota.*

    mount -o remount /


    quotacheck -avugm

    quotaon -avug

    but after reboot i get the message


    mount: / not mounted already, or bad option

    mountall: mount / [450] terminated with status 32

    mountall: Filesystem could not be mounted: /

    i'm guessing I shouldnt of had the / at the end of the third line?

    is there any way I can recover from this without having to start the whole process from scratch?

    Any help would be appreciated
    Cheers
     
  2. QPRWinst

    QPRWinst New Member

    formatting went a bit funny there. should be

    touch /aquota.user /aquota.group
    chmod 600 /aquota.*
    mount -o remount /

    quotacheck -avugm
    quotaon -avug

    After reboot i get the message
    mount: / not mounted already, or bad option
    mountall: mount / [450] terminated with status 32
    mountall: Filesystem could not be mounted: /
     
  3. QPRWinst

    QPRWinst New Member

    Ok I decided to blank the hard disk and start again. My question now is Do I have to setup the quotas to have a properly working server?

    if yes, could anyone tell me what is going wrong, i.e. what is disabling the filesystem?

    Cheers
     
  4. falko

    falko Super Moderator

    No. The only thing is that you can't limit your users file system usage without quota.

    Is this a physical server or a virtual machine?
     
  5. QPRWinst

    QPRWinst New Member

    Hi Falko, thanks for reply.

    This is a physical server.

    Cheers
     
  6. falko

    falko Super Moderator

    Hm, the quota instructions should work then. Did you try a reboot?
     
  7. QPRWinst

    QPRWinst New Member

    Morning
    I followed the guide and did everything except the quota part. I'm very pleased with the results as everything seems to be working perfectly (apart from a few minor port issues with the router). Im scared that if I try it again it will mess up the mounting of the filesystem.

    I would like to have it as perfect as possible, so if I backup /etc/fstab first, how could I restore it if it all goes wrong? Or do you think I should leave alone?

    And just as a quick aside is /etc/fstab where I would mount the cdrom drive permenently?

    cheers
     
  8. falko

    falko Super Moderator

    You mean if it doesn't boot? I've never seen that happen with the instructions, but just in case: boot from a Live CD - this guide should give you the idea: http://www.howtoforge.com/how-to-reset-a-forgotten-root-password-with-knoppix
    But if you don't need quota, you can leave the system as is.
    Yes.
     
  9. QPRWinst

    QPRWinst New Member

    Hi
    Thanks for that. In that case then I think i'll leave it as is for now until im a bit more confident about what I'm doing.
    Thanks for all your help and advice.
     
  10. falko

    falko Super Moderator

    See post #4.
     

Share This Page