Cant install quota.

Asked by e-r-i-k-98

When i try to chane quota list, i can't do it. there are some letters showing like : [A/]
what's the problem??

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
e-r-i-k-98
Solved:
Last query:
Last reply:
Revision history for this message
Cesare Tirabassi (norsetto) said :
#1

Can you tell us what you are trying to do and the (error) messages you are getting?

Revision history for this message
e-r-i-k-98 (erik98) said :
#2

It shoud be like this:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=4e83bdf2-ea2b-416c-85b0-ed2c56a19433 / ext3 defaults,errors=remount-ro,usrquota,grpquota 0 1
# /dev/sda5
UUID=2ded13c4-6693-47ca-b1c8-18ebd32dbce9 none swap sw 0 0

/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

But when I press arrows on keyboard, it looks like that: (no errors and no messages)

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
[A/]
# /dev/sda1
UUID=4e83bdf2-ea2b-416c-85b0-ed2c56a19433 / ext3 defaults,errors=remount-ro,usrquota,grpquota 0 1
# /dev/sda5
UUID=2ded13c4-6693-47ca-b1c8-18ebd32dbce9 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

Oh I have to tell you that longer than you hold arrows, more [A/] appears

Revision history for this message
e-r-i-k-98 (erik98) said :
#3

Oh: [A/] or [C/] or [C/]

Revision history for this message
Cesare Tirabassi (norsetto) said :
#4

What are you using to edit the file?

Revision history for this message
e-r-i-k-98 (erik98) said :
#5

iremember: gedit

Revision history for this message
e-r-i-k-98 (erik98) said :
#6

NOOOO i remember now: vi

Revision history for this message
Cesare Tirabassi (norsetto) said :
#7

OK, can you try with gedit then? vi is quite powerful but it requires a steep learning curve. The letters seem to indicate that you were inserting control characters instead of moving within the file.

Revision history for this message
Best e-r-i-k-98 (erik98) said :
#8

I made it! I worked this on Vmware (or Wmvare (i don't know)) now i put server on hard disc and restart and IT'S WORKIIIINGGG!!!!

Revision history for this message
kyalo (benechallo) said :
#9

errors which i get when i run
uotacheck -avugm
quotaon -avug
the error:
quotaon: cannot find //quota.group on /dev/disk/by-uuid/40d39896-9415-419b-8c2e-d89e1a35a744 [/]
quotaon: cannot find //quota.user on /dev/disk/by-uuid/40d39896-9415-419b-8c2e-d89e1a35a744 [/]

please can u help me to solve this issue.

my nano /etc/fstab looks like this
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda11 during installation
UUID=40d39896-9415-419b-8c2e-d89e1a35a744 / ext4 errors=remount ro,usrjquota=quota.user,grpjquota=quota.group,jqfmt$
# swap was on /dev/sda6 during installation
UUID=b22f3054-a48a-4e6b-b9fe-b3288a97b851 none swap sw 0 0