+ Post New Thread
Results 1 to 5 of 5
Home Access Plus+ Thread, quota 2 drives on the same server in Projects:; dear nick, is it possible to have quota info of 2 different drives on the same server. currently it returns ...
  1. #1

    Join Date
    Nov 2011
    Location
    italy
    Posts
    56
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    quota 2 drives on the same server

    dear nick,
    is it possible to have quota info of 2 different drives on the same server.
    currently it returns only the quota of one of the 2 drives and display it as if it were of both.

    please note that:
    \\server1\usr\%username% is a share on drive "D" of server1
    \\server1\shared\group is a share on drive "E" of server1

    here is my hapconfig

    <mappings>
    <mapping drive="H" name="H" enablereadto="All" enablewriteto="All" enablemove="False" usagemode="Quota">\\server1\shared\group</mapping>
    <mapping drive="G" name="G" enablereadto="All" enablewriteto="All" enablemove="False" usagemode="Quota">\\server1\usr\%username%</mapping>
    </mappings>

    ...

    <quotaservers>
    <quotaservers expression="\\server1\usr\{0}.$" server="server1" drive="D" />
    </quotaservers>
    <quotaservers>
    <quotaservers expression="\\server1\shared\group\{0}.$" server="server1" drive="E" />
    </quotaservers>

    !!! many thanks as usual !!!!

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,358
    Thank Post
    36
    Thanked 466 Times in 398 Posts
    Rep Power
    105
    It should be, try this instead.
    HTML Code:
     <quotaservers>
           <quotaserver expression="\\server1\usr\{0}.$" server="server1" drive="D" />
           <quotaserver expression="\\server1\shared\group\{0}.$" server="server1" drive="E" />
         </quotaservers>

  3. #3

    Join Date
    Nov 2011
    Location
    italy
    Posts
    56
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by nickbro View Post
    It should be, try this instead.
    HTML Code:
     <quotaservers>
           <quotaserver expression="\\server1\usr\{0}.$" server="server1" drive="D" />
           <quotaserver expression="\\server1\shared\group\{0}.$" server="server1" drive="E" />
         </quotaservers>
    @nickbro

    it does not change

    it shows the quota of the last drive it reads (drive E) and applies to both
    quota 2 drives on the same server-new-picture-5-.jpg

    big thanks as usual

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,358
    Thank Post
    36
    Thanked 466 Times in 398 Posts
    Rep Power
    105
    Replace {0} with %username%

  5. #5

    Join Date
    Nov 2011
    Location
    italy
    Posts
    56
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Dear Nick and for future reverence,

    I have been able to fix it.
    here is the code that is working (with HAP+ 7.7 ):

    <mappings>
    <mapping drive="G" name="G" enablereadto="All" enablewriteto="All" enablemove="False" usagemode="Quota">\\server1\usr\%username%</mapping>
    <mapping drive="H" name="H" enablereadto="All" enablewriteto="All" enablemove="False" usagemode="Quota">\\server1\shared</mapping>
    </mappings>

    ...

    <quotaservers>
    <quotaserver server="server1" drive="D">\\server1\usr\%username%</quotaserver>
    <quotaserver server="server1" drive="E">\\server1\shared</quotaserver>
    </quotaservers>

    Thanks again as usual !!!

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 15
    Last Post: 18th June 2013, 11:55 AM
  2. Installing Office 2007 on the same PC as 2003
    By googlemad in forum Windows
    Replies: 14
    Last Post: 5th December 2007, 01:19 PM
  3. WSUS 3.0 and Sophos on the same Server?
    By tosca925 in forum Windows
    Replies: 8
    Last Post: 7th May 2007, 09:58 PM
  4. OSX and XP on the same machine in schools.
    By drjturner in forum Mac
    Replies: 11
    Last Post: 30th June 2006, 09:53 PM
  5. Apache + IIS On the same box?
    By in forum Windows
    Replies: 25
    Last Post: 7th March 2006, 03:12 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •