Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Error bij instellen van quota voor een LOI cursus  (gelezen 688 keer)

Offline bart85

  • Lid
Error bij instellen van quota voor een LOI cursus
« Gepost op: 2015/05/30, 13:54:52 »
Voor een linux systeembeheer cursus van de LOI moet ik qouta instellen. Bij de opdracht quotacheck krijg ik een foutmelding. Zie hieronder.
Onderstaande foutmelding krijg ik bij het initialiseren van quotabestanden met het aangegeven commando.

# quotacheck -avug /dev/sdb9
Bad number of arguments.
Utility for checking and repairing quota files.
quotacheck [-gucbfinvdmMR] [-F <quota-format>] filesystem|-a

fstab:
/dev/sdb9   /quota   ext4   usrquota,grpquota   1   2
Je leert maar mooi over weg gaan met de commandline.
Linus: "I'm happy with the people who are wandering around looking at the stars but I am looking at the ground and I want to fix the pothole before I fall in."
I look to the clouds behind me and see the thunder coming.

Offline bart85

  • Lid
Re: Error bij instellen van quota voor een LOI cursus
« Reactie #1 Gepost op: 2015/05/30, 18:09:22 »
Ik heb een ander boek over linux erbij gepakt. Dit heb ik op een andere computer geprobeerd.
De opties usrquota,grpquota heb ik aan de home partitie toegevoegd. Dus niet bij een partitie gemount op /quota. Bij quotacheck heb ik de device weggelaten. Nu krijg ik geen errors meer.
Je leert maar mooi over weg gaan met de commandline.
Linus: "I'm happy with the people who are wandering around looking at the stars but I am looking at the ground and I want to fix the pothole before I fall in."
I look to the clouds behind me and see the thunder coming.

Offline aartje

  • Lid
Re: Error bij instellen van quota voor een LOI cursus
« Reactie #2 Gepost op: 2015/05/31, 09:42:02 »
Voor een linux systeembeheer cursus van de LOI moet ik qouta instellen. Bij de opdracht quotacheck krijg ik een foutmelding. Zie hieronder.
Onderstaande foutmelding krijg ik bij het initialiseren van quotabestanden met het aangegeven commando.

# quotacheck -avug /dev/sdb9
Bad number of arguments.
Utility for checking and repairing quota files.
quotacheck [-gucbfinvdmMR] [-F <quota-format>] filesystem|-a

fstab:
/dev/sdb9   /quota   ext4   usrquota,grpquota   1   2
Je geeft bij je quotacheck commando zowel de -a vlag als een specifiek device.
Ik vraag me af of dat wel juist is, sorry ik kan het zelf niet controleren.
Volgens mij is het dus óf "quotacheck -vug /dev/sdb9" óf "quotacheck -vug -a"
« Laatst bewerkt op: 2015/05/31, 09:45:05 door aartje »

Offline bart85

  • Lid
Re: Error bij instellen van quota voor een LOI cursus
« Reactie #3 Gepost op: 2015/05/31, 13:37:56 »
Je hebt gelijk. Dat is dan een fout in het boek 'Aan de slag met Linux voor LPIC-1'
Je leert maar mooi over weg gaan met de commandline.
Linus: "I'm happy with the people who are wandering around looking at the stars but I am looking at the ground and I want to fix the pothole before I fall in."
I look to the clouds behind me and see the thunder coming.