HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- smbcquotas - how do i use this
Operating System - Linux
1832658
Members
3076
Online
110043
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2010 10:17 PM
08-09-2010 10:17 PM
smbcquotas - how do i use this
I went through the man pages but still i m unsure as to how this is used.
smbcquotas — Set or get QUOTAs of NTFS 5 shares
this is what the man page heading says. does this mean even if a share on my Linux system is samba shared, ie. visible to windows.
I have a Linux box where
linux-tu6y:~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 25G 2.5G 21G 11% /
udev 439M 128K 439M 1% /dev
/dev/sda1 198M 14M 175M 7% /boot
/dev/sda4 3.0G 138M 2.7G 5% /var
and my samba share is on /home/oracleapps/statements
i need to give this to a user where in he will upload some bank statement (usually in kbs) and access it from Oracle EBS.
Is it possible to setquota on the samba share /home/oracleapps/statements which is //oracleapps/statements so that that samba share cannot have more than 10MB of data?
smbcquotas — Set or get QUOTAs of NTFS 5 shares
this is what the man page heading says. does this mean even if a share on my Linux system is samba shared, ie. visible to windows.
I have a Linux box where
linux-tu6y:~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 25G 2.5G 21G 11% /
udev 439M 128K 439M 1% /dev
/dev/sda1 198M 14M 175M 7% /boot
/dev/sda4 3.0G 138M 2.7G 5% /var
and my samba share is on /home/oracleapps/statements
i need to give this to a user where in he will upload some bank statement (usually in kbs) and access it from Oracle EBS.
Is it possible to setquota on the samba share /home/oracleapps/statements which is //oracleapps/statements so that that samba share cannot have more than 10MB of data?
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2010 05:40 AM
08-11-2010 05:40 AM
Re: smbcquotas - how do i use this
hi all i did it. i got help from novell forums
all i needed was a samba folder which can store around 20MB max of data and something which could be read from Oracle apps.
i created the virtual file system and followed the guide here
http://souptonuts.sourceforge.net/quota_tutorial.html
i created a dump file
dd if=/dev/zero of=/home/user/disk-img/disk.ext3 count=40960
formatted the dump using
mkfs.ext3 /home/user/disk-img/disk.ext3
mount -t ext3 -o rw,loop,usrquota,grpquota /home/user/disk-img/disk.ext3 /mnt
and thats it .... i didnt want to set quotas as the disk image itself is just 20MB
let me know your thoughts on this.
further i will cron a tar of that dump file somewhere so that the contents can be retrieved!!
i m yet to check whether oracle apps can read it ... i will have the tech consultant chk it tmrw
all i needed was a samba folder which can store around 20MB max of data and something which could be read from Oracle apps.
i created the virtual file system and followed the guide here
http://souptonuts.sourceforge.net/quota_tutorial.html
i created a dump file
dd if=/dev/zero of=/home/user/disk-img/disk.ext3 count=40960
formatted the dump using
mkfs.ext3 /home/user/disk-img/disk.ext3
mount -t ext3 -o rw,loop,usrquota,grpquota /home/user/disk-img/disk.ext3 /mnt
and thats it .... i didnt want to set quotas as the disk image itself is just 20MB
let me know your thoughts on this.
further i will cron a tar of that dump file somewhere so that the contents can be retrieved!!
i m yet to check whether oracle apps can read it ... i will have the tech consultant chk it tmrw
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP