<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How set disk space for particular user using command edquota in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-set-disk-space-for-particular-user-using-command-edquota/m-p/3703486#M21192</link>
    <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;last weekend I tried to add quota to some users on my server running Debian Sarge 3.1. ( First I added into /etc/fstab after defaults, userquota, grpquota.....I wanted to modified disk values for users on my home direcory---/dev/hda6)&lt;BR /&gt;I used command edquota -u xzy and I got VIM editable file to enter desirable disk values, after entering I wrote wq!+enter and I got next output:&lt;BR /&gt;&lt;BR /&gt;edquota :WARNING /dev/hda6 cannot change current block allocation&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;afret that I entered command repquota -a and I got output qouta for all users including xzy, but field blocks still remain as before comand edquota -u xzy&lt;BR /&gt;&lt;BR /&gt;Only I want edit disk space for particular users, and I found (I used google and man edquota) command edquota will help me to do it.&lt;BR /&gt;I would pritiete all kind of help and suggestions, because I have no idea how to solve problem I have.&lt;BR /&gt;&lt;BR /&gt;Thank you in advance.</description>
    <pubDate>Thu, 05 Jan 2006 09:00:08 GMT</pubDate>
    <dc:creator>debian111</dc:creator>
    <dc:date>2006-01-05T09:00:08Z</dc:date>
    <item>
      <title>How set disk space for particular user using command edquota</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-set-disk-space-for-particular-user-using-command-edquota/m-p/3703486#M21192</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;last weekend I tried to add quota to some users on my server running Debian Sarge 3.1. ( First I added into /etc/fstab after defaults, userquota, grpquota.....I wanted to modified disk values for users on my home direcory---/dev/hda6)&lt;BR /&gt;I used command edquota -u xzy and I got VIM editable file to enter desirable disk values, after entering I wrote wq!+enter and I got next output:&lt;BR /&gt;&lt;BR /&gt;edquota :WARNING /dev/hda6 cannot change current block allocation&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;afret that I entered command repquota -a and I got output qouta for all users including xzy, but field blocks still remain as before comand edquota -u xzy&lt;BR /&gt;&lt;BR /&gt;Only I want edit disk space for particular users, and I found (I used google and man edquota) command edquota will help me to do it.&lt;BR /&gt;I would pritiete all kind of help and suggestions, because I have no idea how to solve problem I have.&lt;BR /&gt;&lt;BR /&gt;Thank you in advance.</description>
      <pubDate>Thu, 05 Jan 2006 09:00:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-set-disk-space-for-particular-user-using-command-edquota/m-p/3703486#M21192</guid>
      <dc:creator>debian111</dc:creator>
      <dc:date>2006-01-05T09:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: How set disk space for particular user using command edquota</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-set-disk-space-for-particular-user-using-command-edquota/m-p/3703487#M21193</link>
      <description>I think that you are editing the wrong value, you cannot edit the first value that indicates how much is used, you must edit the second or third value (hard and soft limit).&lt;BR /&gt;That's why you get:&lt;BR /&gt;&lt;BR /&gt;cannot change current block allocation&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jan 2006 15:18:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-set-disk-space-for-particular-user-using-command-edquota/m-p/3703487#M21193</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-01-05T15:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: How set disk space for particular user using command edquota</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-set-disk-space-for-particular-user-using-command-edquota/m-p/3703488#M21194</link>
      <description>Thank yoo, if I cannot edit blocks field then it is ok, but I am wondering why I cannot change blocks field and add different value for particular user?&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;regards</description>
      <pubDate>Fri, 06 Jan 2006 06:20:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-set-disk-space-for-particular-user-using-command-edquota/m-p/3703488#M21194</guid>
      <dc:creator>debian111</dc:creator>
      <dc:date>2006-01-06T06:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: How set disk space for particular user using command edquota</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-set-disk-space-for-particular-user-using-command-edquota/m-p/3703489#M21195</link>
      <description>I dont understand whell your question, for example:&lt;BR /&gt;&lt;BR /&gt;edquota -u iferreira&lt;BR /&gt;&lt;BR /&gt;Disk quotas for user iferreira (uid 506):                                      &lt;BR /&gt;&lt;BR /&gt;Disk quotas for user iferreira (uid 506):                                      &lt;BR /&gt;  Filesystem                   blocks       soft       hard     inodes     soft&lt;BR /&gt;    hard                                                                       &lt;BR /&gt;  /dev/hda1                         0        0           0          0        0&lt;BR /&gt;    0                        &lt;BR /&gt;&lt;BR /&gt;If I edit block line like this:&lt;BR /&gt;&lt;BR /&gt;Disk quotas for user iferreira (uid 506):                                      &lt;BR /&gt;  Filesystem                   blocks       soft       hard     inodes     soft&lt;BR /&gt;    hard                                                                       &lt;BR /&gt;  /dev/hda1                         1000        0           0          0        0&lt;BR /&gt;    0                                                                       &lt;BR /&gt;&lt;BR /&gt;I get:&lt;BR /&gt;edquota: WARNING - /dev/hda1: cannot change current block allocation      &lt;BR /&gt;&lt;BR /&gt;The first field is the currently used blocks, so you cannot edit that, that information will be updated when the user creates files on the file system.&lt;BR /&gt;&lt;BR /&gt;So you must edit the second and third field:&lt;BR /&gt;&lt;BR /&gt;Disk quotas for user iferreira (uid 506):                                      &lt;BR /&gt;  Filesystem                   blocks       soft       hard     inodes     soft&lt;BR /&gt;    hard                                                                       &lt;BR /&gt;  /dev/hda1                        0        10000       20000          0        0&lt;BR /&gt;    0                                                                       &lt;BR /&gt;&lt;BR /&gt;You CAN set the blocks limits, but these values are configured in the second and third field.</description>
      <pubDate>Fri, 06 Jan 2006 07:18:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-set-disk-space-for-particular-user-using-command-edquota/m-p/3703489#M21195</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-01-06T07:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: How set disk space for particular user using command edquota</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-set-disk-space-for-particular-user-using-command-edquota/m-p/3703490#M21196</link>
      <description>My /etc/fstab folder has structure like bellow.&lt;BR /&gt;&lt;BR /&gt; cat /etc/fstab&lt;BR /&gt;# /etc/fstab: static file system information.&lt;BR /&gt;#&lt;BR /&gt;# &lt;FILE system=""&gt; &lt;MOUNT point=""&gt;   &lt;TYPE&gt;  &lt;OPTIONS&gt;       &lt;DUMP&gt;  &lt;PASS&gt;&lt;BR /&gt;proc            /proc           proc    defaults        0       0&lt;BR /&gt;/dev/sda1       /               ext3    defaults,errors=remount-ro 0       1&lt;BR /&gt;/dev/sda9       /home           ext3    defaults,usrquota     1     1&lt;BR /&gt;/dev/sda8       /tmp            ext3    defaults        0       2&lt;BR /&gt;/dev/sda5       /usr            ext3    defaults        0       2&lt;BR /&gt;/dev/sda6       /var            ext3    defaults        0       2&lt;BR /&gt;/dev/sda7       none            swap    sw              0       0&lt;BR /&gt;/dev/hda        /media/cdrom0   iso9660 ro,user,noauto  0       0&lt;BR /&gt;/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I edited /etc/fstab to prepare it for disk qouota, I would like to edit /home partition&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bellow is output of repquota on my machine.&lt;BR /&gt;I used edquota to edit disk apace for user zippo&lt;BR /&gt;&lt;BR /&gt; repquota -a&lt;BR /&gt;*** Report for user quotas on device /dev/sda9&lt;BR /&gt;Block grace time: 7days; Inode grace time: 7days&lt;BR /&gt;                        Block limits                File limits&lt;BR /&gt;User            used    soft    hard  grace    used  soft  hard  grace&lt;BR /&gt;----------------------------------------------------------------------&lt;BR /&gt;root      --   62760       0       0             20     0     0&lt;BR /&gt;andrejk     --   36420       0       0            449     0     0&lt;BR /&gt;lfs       --       8       0       0              2     0     0&lt;BR /&gt;zippo     --       8     100     200              2     0     0&lt;BR /&gt;&lt;BR /&gt;The output of quotaon -u zippo is as follows&lt;BR /&gt; &lt;BR /&gt;quotaon -u zippo&lt;BR /&gt;quotaon: Can't stat() given mountpoint zippo: No such file or directory&lt;BR /&gt;Skipping...&lt;BR /&gt;quotaon: No correct mountpoint specified.&lt;BR /&gt;&lt;BR /&gt;I tried to assign /home as mount point&lt;BR /&gt;&lt;BR /&gt;quotaon -u zippo /home&lt;BR /&gt;quotaon: Can't stat() given mountpoint jebac: No such file or directory&lt;BR /&gt;Skipping...&lt;BR /&gt;quotaon: using /home/aquota.user on /dev/sda9 [/home]: Device or resource busy&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What to do next in order to make this works..&lt;BR /&gt;Thank you&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;&lt;/PASS&gt;&lt;/DUMP&gt;&lt;/OPTIONS&gt;&lt;/TYPE&gt;&lt;/MOUNT&gt;&lt;/FILE&gt;</description>
      <pubDate>Fri, 06 Jan 2006 10:45:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-set-disk-space-for-particular-user-using-command-edquota/m-p/3703490#M21196</guid>
      <dc:creator>debian111</dc:creator>
      <dc:date>2006-01-06T10:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: How set disk space for particular user using command edquota</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-set-disk-space-for-particular-user-using-command-edquota/m-p/3703491#M21197</link>
      <description>Have you remounted the filesystem after the quota settings on fstab?&lt;BR /&gt;&lt;BR /&gt;mount -o remount /home&lt;BR /&gt;mount -o usrquota,remount /home&lt;BR /&gt;&lt;BR /&gt;Then you need to run quotacheck and quotaon.</description>
      <pubDate>Fri, 06 Jan 2006 13:30:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-set-disk-space-for-particular-user-using-command-edquota/m-p/3703491#M21197</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-01-06T13:30:36Z</dc:date>
    </item>
  </channel>
</rss>

