How to add directory in linux disk quotas?

HiUnder Linux centos there is a disk quotas and i want to use this under this directory/var/www/html because i want to implement capacity restriction on a specific user account.here is my fstab content:/dev/mapper/vg_http-lv_root / ext4 usrquota,grpquota 0 1UUID=674e7df7-0fd8-4fd9-bbb2-a55d4f83b962 /boot ext4 defaults 1 2/dev/mapper/vg_http-lv_home /home ext4 usrquota,grpquota 0 2/dev/mapper/vg_http-lv_swap swap swap defaults 0 0tmpfs /dev/shm tmpfs defaults 0 0devpts /dev/pts devpts gid=5,mode=620 0 0sysfs /sys sysfs defaults 0 0proc /proc proc defaults 0 0Im not sure if this is correct to just add only.
/dev/mapper/vg_http-lv_html /var/www/html ext4 usrquota,grpquota 0 2thanks and more power spiceworks
This topic first appeared in the Spiceworks Community

You can't just go grab a car from the dealer and drive it until they notice you didn't pay for it. I'm pretty sure that's called theft and, according to Google, you'd be spending at least a year in jail.Software piracy happens a lot more than you think, and not just with small start ups.The most widely used excuse I hear is, "We need this software but we didn't have the budget or management wouldn't approve it." Every time I hear this I want to grab the person by their shoulders and shake them violently while screaming, "YOU HAVE TO BUY IT IF YOU WANT TO USE IT!"No matter how many pats on the back you get for "acquiring" that expensive piece of software for your users, it's not worth it. Eventually, someone will notice. And when they do, it's your ass on the line. After all, management told youno.If they ask for it, but won't buy it,...

Similar Messages

  • How to Add/Instal​l 16Gb Disk Caching SSD?

    Hello everyone,
    I just bought the HP Envy 700QE desktop from Costco.  I did find the guide about this desktop/tower (www.nhangraphic.com/HP-Envy-700QE-Upgrade.pdf) but nothing is mention about how to install/config the additional 16Gb Disk Caching SSD.  I really want to have this to improve the performance of the desktop.   Could someone please help me how to add/install and full config 16Gb Disk Caching SSD for this HP Envy 700QE Desktop step by step? Thanks in advance.
    Frank
    This question was solved.
    View Solution.

    Hi Frank,
    mSATA is just a mini-onboard SATA connector where a small circuit board (msata device) can be inserted.  Typically it's used as a way with small form factor devices to add SSD like performance.
    You can change the SATA controller mode from the default AHCI setting to RAID in the bios.  Use Computer Setup to enter the bios. Tapping the ESC key right after power on the PC should bring up a menu selection.
    If you run into problems then let us know.
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

  • How to add event files on disk to imovie

    I recently upgraded my hard disk on my  Mac Pro and transferred all my media files.
    Now when I open iMovie10 apart from two event files, I cannot see in the event pane all the iMovie events on the hard disk.
    These files are present in Finder.

    Thanks AppleMan.
    I had relocated my Movies to a Movies folder in secondary internal drive. The iMovie/Events folder resides in the Movies folder in the secondary internal drive.
    When I checked the properties of the Movies folder alias under User, I realised it was pointing to a non-existing drive. I corrected it to point to the correct location.
    Now when I launch iMovie, I can see iMovie optimizing my media files, but still nothing shows up under Even Library neither do the Projects under the Project Library, except the list of drives.

  • How to add other 2 control files at ASM in linux RAC

    Hi Experts,
    I am new for RAC .
    the vendor build a RAC for us. I found there are only one control file in system.
    we use oracle 10.2.0.4 at ASM with RAC in redhat linux 5.
    how to add 2 additional control file to ASM for RAC ?
    Please provide a procedur in detail.
    Thanks
    Jim

    Hi damorgan & Friends,
    I could not find some infomration to add control into ASM . I can do this job( see below procedure) in no ASM .
    My question, our database locates at ASM and control file with a system auto-number ( fully qualified filename ) as
    +DATA1/SALE/controlfile/current.256.690290159
    How do I physical copy and rename other 2 contril file in directory and modify location in pfile?
    I saw some paper to use request as an alias (such as +dgroup2/control/ctl.f). i can not image to copy/rename control.
    Please help me!!
    Thanks
    Jim
    ========added control file for no ASM database and works=====================
    1)
    SQL> create pfile from spfile;
    File created.
    2)
    SQL> show parameter control_file
    NAME TYPE VALUE
    control_file_record_keep_time integer 7
    control_files string C:\ORADATA\ORCL\CONTROL01.CTL
    3)
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    4) modify pfile add additional control file2/3 as
    control_files='C:\Oradata\ORCL\control01.ctl','C:\Oradata\ORCL\control02.ctl','C:\Oradata\ORCL\control03.ctl'
    and physical copy control01.ctl and raname as control02.ctl,control03.ctl
    5)
    SQL> startup pfile='C:\oracle\product\10.2.0\db_2\database\initORCL.ora';
    ORACLE instance started.
    Total System Global Area 167772160 bytes
    Fixed Size 1247900 bytes
    Variable Size 62915940 bytes
    Database Buffers 100663296 bytes
    Redo Buffers 2945024 bytes
    Database mounted.
    Database opened.er database mount;
    6)
    SQL> Create spfile from pfile='C:\oracle\product\10.2.0\db_2\database\initORCL.ora';
    File created.
    7) check control file info under pfile environment
    SQL> show parameter control_file
    NAME TYPE VALUE
    control_file_record_keep_time integer 7
    control_files string C:\ORADATA\ORCL\CONTROL01.CTL,
    C:\ORADATA\ORCL\CONTROL02.CTL
    , C:\ORADATA\ORCL\CONTROL03.CT
    L
    8)SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    9) startup as spfile environment.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 167772160 bytes
    Fixed Size 1247900 bytes
    Variable Size 62915940 bytes
    Database Buffers 100663296 bytes
    Redo Buffers 2945024 bytes
    Database mounted.
    Database opened.
    10) check control info for spfile environment
    SQL> show parameter spfile
    NAME TYPE VALUE
    spfile string C:\ORACLE\PRODUCT\10.2.0\DB_2\
    DATABASE\SPFILEORCL.ORA
    SQL> show parameter control_file
    NAME TYPE VALUE
    control_file_record_keep_time integer 7
    control_files string C:\ORADATA\ORCL\CONTROL01.CTL,
    C:\ORADATA\ORCL\CONTROL02.CTL
    , C:\ORADATA\ORCL\CONTROL03.CT
    L

  • How to add a system into Solution Manager directory.

    Hi!
    Can anybody tell me how to add a system into Solution Manager directory before generating license key for ECC installation .
    Also,
    How to connect the XI in same box with SolMan and ECC in defferent server to SolMan 3.2 .
    I am going to install SolMan and than XI in and box and after that ECC in a seperate box.
    AM I right?
    regards,
    Pratip Bhattacharyya

    Hi Bratip Bhattacharyya,
    SolMan 3.2 needs SLD only for automatic data gathering of the sap landscape; you can choose between SLD and LIS in transaction SMSY_SETUP (which simply uses the TMS-domain controllers for information gathering).
    XI needs SLD, but XI needs also a netweaver04 (s) system (Abap WAS 6.40). SolMan 3.2 isn't a netweaver04 system (Abap WAS 6.20). So you have to install XI as an own central instance (Abap + Java) on the same windows server, if you like. In this case you have to install for XI an own SLD. Different SLDs can create bridges between themselves. Please look at the SLD configuration guide (quicklink /netweaver -> installation guides).
    But don't ask me how to install two sap systems on one server on windows (on Linux it's easy I have done so); basically it will have an own SID and own "service" numbers (which means own tcp port numbers).
    If you can't dedicate to XI an own server, it's only a question of hardware sizing. For the different combinations of netweaver components you should study the master guide for netweawer.
    Bye
    Message was edited by: Riccardo Escher

  • How to add more disk space into /   root file system

    Hi All,
    Linux  2.6.18-128
    can anyone please let us know how to add more disk space into "/" root file system.
    i have added new hard disk with space of 20GB, 
    [root@rac2 shm]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/hda1             965M  767M  149M  84% /
    /dev/hda7             1.9G  234M  1.6G  13% /var
    /dev/hda6             2.9G   69M  2.7G   3% /tmp
    /dev/hda3             7.6G  4.2G  3.0G  59% /usr
    /dev/hda2              18G   12G  4.8G  71% /u01
    LABLE=/               2.0G     0  2.0G   0% /dev/shm
    /dev/hdb2             8.9G  149M  8.3G   2% /vm
    [root@rac2 shm]#

    Dude! wrote:
    I would actually question whether or not more disks increase the risk of a disk failure. One disk can break as likely as one of two of more disks.
    Simple stats.  Buying 2 lottery tickets instead of one, gives you 2 chances to win the lottery prize. Not 1. Even though the odds of winning per ticket remains unchanged.
    2 disks buy you 2 tickets in The-Drive-Failure lottery.
    Back in the 90's, BT (British Telecom) had a 80+ node OPS cluster build with Pyramid MPP hardware. They had a dedicated store of scsi disks for replacing failed disks - as there were disk failure fairly often due to the number of disks. (a Pryamid MPP chassis looked like a Xmas tree with all the scsi drive LEDs, and BT had several)
    In my experience - one should rather expect a drive failure sooner, than later. And have some kind of contingency plan in place to recover from the failure.
    The use of symbolic links instead of striping the filesystem protects from the complete loss of the enchilada if a volume member fails, but it does not reduce the risk of loosing data.
    I would rather buy a single ticket for the drive failure lottery for a root drive, than 2 tickets in this case. And using symbolic links to "offload" non-critical files to the 2nd drive means that its lottery ticket prize is not a non-bootable server due to a toasted root drive.

  • How to enable disk quotas in Lion Server (OS X 10.7.5)?

    Hello, all.  I am having an impossible time trying to set disk quotas in Lion Sever (OS X 10.7.5) and have searched these (and many other) forums to no avail.  Basically, as my network will have mixed PC and Mac users I have set the primary home share folder to SMB.  I understand that quotas should be enabled without a hitch under AFP, but this will not suffice for PC clients.  I have set quotas in WGM but when I check from a remote connection it shows folder capactiy as the volume's total capacity where the home folder resides.
    As the latest version of Server Admin does not have a file share section, how can I do this?  I understand it may be possible from the terminal, but having little experience with terminal I would prefer not set it myself (man quotaon was less than helpful).
    Thank you in advance for any help.

    Not 100% sure, but i think "password change" feature requires Open Directory and SSL encryption for Web.
    Has you enabled OD?
    Did you try at least a self-signed SSL certificate for Web?

  • Setting disk quota on Mac server for Active Directory users

    I'm having trouble setting disk quotas for Active Directory users with home folders on our Mac server.
    I've enabled disk quotas on the disk I'm putting home folders on, and I can set disk quotas for local users on the server just fine. But it doesn't seem to work for Active Directory users. I've tried setting disk quotas via Workgroup Manager and via the command line using edquota. But when I use the repquota command there is no quota entry for the AD user. I've run quotacheck and that didn't help either.
    I also understand there's a setquota command but there's no man page on how that works.
    Has anyone got disk quota for AD users working.
    Better still has someone got a shell or perl script for setting quotas they could post.
    Thanks
    - Cameron

    sorry.. I am soooooo stupid... I have to activate "File Sharing" as well.. for the user everything was already pre-activated, not for the AD users, I just saw the Time Machine checkbox grayed out ...

  • How to  add a folder in unix directory?

    how to  add a folder in unix directory?
    /usr/zz00/zz/mm/..
    i need one more folder
    /usr/zz00/zz/mm/addfolder/text.txt..

    No way with pure ABAP. Either contact your unix adminstration or create a logical system command in SM69/SM49 which can be called via call function 'SXPG_CALL_SYSTEM'

  • How to add License Key For Integration Tool kit For SAP in Linux Server

    Dear Experts,
    We are Using BO XI R3.1 SP3 Enterprise Version ,Integration Tool Kit For SAP,Live Office.
    The Server is Linux Server.
    But while generating reports in Infoview it is giving error like ""_check that you are licensed to access SAP Data Source_".
    So we came to know that license Key might Expire for Integraton Tool Kit For SAP in Bo Server.
    So can you tell me how to add the license key For BO XI R3.1 SP3 Integration Tool Kit For SAP in Linux Server.
    Thanks & Regards,
    Venkat

    On Unix / Linux you should be able to leverage the response from Raphael and change:
    Location=%BOBJDIR%/bobje/data/.bobj/registry/software/business objects/suite 11.5/sap/keycode/.registry
    For more information verify the below link
    [How do you update the SAP Integration Kit license?;
    Regrads
    Pardhu

  • How do I move my home directory to another disk?

    I want to find out the "standard procedure" for moving my home directory to another disk.  My current system disk is getting quite full, so I have purchased additional storage.  The issues I am concerned about are the following:
    Preserving the file permissions
    I have used rsync and ditto commands to copy the file.  Does rsync preserve the permissions like the ditto command?
    Updating the System to use the new home directory
    I have used the Ctl-Click on the accounts control panel to update the location of the home directories.  Do applications use "~<username>" or /Users/<username> to find the home directory of the user (obviously this is limited to Apple Controlled software).
    Understanding the /Users and /home directories
    Since Apple is no longer using netinfo, I wanted to get a better understanding how these directories are set up.  Is the /home directory exclusively for network mounted home directories.
    Please let me know if you have any questions.

    I disagree with Linc Davis on whether to move the home folder, But I think you are going about it the wrong way. 
    Having a Boot drive with only System, Library, Applications, and the hidden unix directories including Paging/Swap on it is one of the best ways to speed up routine disk Access for all your other files. The system keeps "snacking" away loading and reloading bits and pieces of System and Applications as you work, and that System activity slows "regular" disk access way down by moving the drive heads away from the files you are processing.
    Giving System files their own drive speeds up everything.
    Here are two good recipes and discussions about how and why to do this, and how to make it happen without a single line of Terminal code:
    http://chris.pirillo.com/how-to-move-the-home-folder-in-os-x-and-why/
    http://jcsenterprises.com/Japamacs_Page/Blog/00E03B83-1ADA-406E-A940-396D39F598E A.html

  • How to add an virtual disk device

    I remember i have seen one doc describe how to add an virtual disk device in solaris system, but I forget it now, can somebody help me?

    not sure what you are trying to achieve...
    However you should not be referring to Luns via their logical device i.e. c0t0d0, but using the unique did device or the /global device. refer to scdidam -L which will list all the did devices across all nodes and map them to the logical device path.

  • How to add buisness system in Integration directory -objects

    Hi All,
    I created the technical systems and buisness systems. then in the integration directory, i want to check whether my business system exixts are not.
    so in the integration directory,
    objects--->service without party >buisness system>
    in the buisness system , whatever buisness system i created the  is not found.
    how to add buisness system into integration directory -- objects.
    Regards,
    vinoth.

    Hi,
    go to integration directory,
    objects--->service without party >buisness system>
    select the BS -> Right click the BS -> it show the number of BS select your business system and assign them next save.
    If the your business system if it's not appear go to Environment menu -> Clear SLD Data cahce.
      and do the same process again..
    Regards,
    Venu.

  • How to stop the removing a user account and saving the home directory  to a disk image?

    I tried to delete one of two administers on my iMac (10.10.1). After more than 12 hours it will not let me quit System Preferences for it "is removing a user account and saving the home directory to a disk image". How do I finish deleting the administer and quit System Preferences?

    I would recommend asking them in C# forums: https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=csharpgeneral&filter=alltypes&sort=lastpostdesc
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • How to add diskgroup in ASM on linux

    Hi All,
    I have installed oracle 10.2.0.4 through Oracle VM- template. I install this template on OEL 5 (oracle enterprise linux 5) update 2.
    10.2.0.4 template is readily avaible which I just extract and run. It install 10.2.0.4 with ASM for single instance.
    Now, I want to add more diskgroup as by default this template created two diskgroup in ASM, but when to go for path of that diskgroup it will showing only: ORCL:VOL1 as a "path"
    query:
    select path,redundancy,total_mb,free_mb,failgroup from v$asm_disk where mount_status='CACHED' and header_status='MEMBER' and mode_status='ONLINE' and state='NORMAL' order by path ;
    PATH          REDUNDA          TOTAL_MB FREE_MB FAILGROUP
    ORCL:VOL1     UNKNOWN 7506 5593      VOL1
    ORCL:VOL2     UNKNOWN 7491 5578      VOL2
    how can I find on which physical path this diskgroup is created liek "/dev/xvd"...or something like this???
    can any one suggest me how to add new diskgroup... I can't use GUI becuase its disable.

    Hi All,
    I have installed oracle 10.2.0.4 through Oracle VM- template. I install this template on OEL 5 (oracle enterprise linux 5) update 2.
    10.2.0.4 template is readily avaible which I just extract and run. It install 10.2.0.4 with ASM for single instance.
    Now, I want to add more diskgroup as by default this template created two diskgroup in ASM, but when to go for path of that diskgroup it will showing only: ORCL:VOL1 as a "path"
    query:
    select path,redundancy,total_mb,free_mb,failgroup from v$asm_disk where mount_status='CACHED' and header_status='MEMBER' and mode_status='ONLINE' and state='NORMAL' order by path ;
    PATH          REDUNDA          TOTAL_MB FREE_MB FAILGROUP
    ORCL:VOL1     UNKNOWN 7506 5593      VOL1
    ORCL:VOL2     UNKNOWN 7491 5578      VOL2
    how can I find on which physical path this diskgroup is created liek "/dev/xvd"...or something like this???
    can any one suggest me how to add new diskgroup... I can't use GUI becuase its disable.

Maybe you are looking for