- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "find" failed to find the files reported by "quot"
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО06-05-2010 08:00 PM
тАО06-05-2010 08:00 PM
"find" failed to find the files reported by "quot"
On a rp3440/HP-UX11iV2 server "quot" reported that on the root volumne "/" (/dev/vg00/lvol3) there were 3 files owned by jwolf as follows:
# quot -f /
/dev/vg00/rlvol3 (/):
848968 3 jwolf <<=== this line
299169 1369 bin
9109 1203 root
8 8 lp
1 1 uucp
#
But when I used "find" as the following:
# find / -user jwolf
All the files returned by command above were all in the /home/jwolf directory which is on a different logic volumne (/dev/vg00/lvol4) - no files owned by jwolf were on the root volumne (/dev/vg00/lvol3)
How can I find/remove those 3 files reported by "quot" and owned by jwolf on /dev/vg00/lvol3?
Thanks a lot in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2010 09:11 PM
тАО06-05-2010 09:11 PM
Re: "find" failed to find the files reported by "quot"
>> which is on a different logic volumne (/dev/vg00/lvol4)
>>- no files owned by jwolf were on the root volumne (/dev/vg00/lvol3)
Looks like the output of #quot command was referring to the files on the
"/dev/vg00/lvol4" volume.
what about the space consumption of the files owned by jwolf on
/dev/vg00/lvol4, is it 848968 (reported by quot)?
For more information on the QUOT command, refer -
http://docs.hp.com/en/B2355-90692/quot.1M.html
Regards,
Murali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2010 04:14 AM
тАО06-06-2010 04:14 AM
Re: "find" failed to find the files reported by "quot"
> But when I used "find" as the following:
# find / -user jwolf
All the files returned by command above were all in the /home/jwolf directory which is on a different logic volumne (/dev/vg00/lvol4) - no files owned by jwolf were on the root volumne (/dev/vg00/lvol3)
If you don't want 'find()' to cross mountpoints you need to add '-xdev'. This is particularly important if you want to search the '/' directory as you have seen. Use:
# find / -xdev -user jwolf
If you want only files and not directories too, do:
# find / -xdev -type f -user jwolf
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2010 05:08 AM
тАО06-06-2010 05:08 AM
Re: "find" failed to find the files reported by "quot"
Most probably those files got removed already ( which was in lvol3) from lvol3,inode allocation/deallocation may take a few moments.....
If you do #sync it may reflect in the next quot.
If your getting still ....please post
# quot -f /jwolf
# find / -xdev -user
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2010 05:08 AM
тАО06-06-2010 05:08 AM
Re: "find" failed to find the files reported by "quot"
# quot -f /
# find / -xdev -user jwolf
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2010 06:37 AM
тАО06-06-2010 06:37 AM
Re: "find" failed to find the files reported by "quot"
> How can I find/remove those 3 files reported by "quot" and owned by jwolf on /dev/vg00/lvol3?
To see the matches:
# find / -xdev -type f -user jwolf -exec ls -l {} +
To remove the matches:
# find / -xdev -type f -user jwolf -exec rm {} +
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2010 09:18 AM
тАО06-07-2010 09:18 AM
Re: "find" failed to find the files reported by "quot"
The problem is "quot" sees 3 files owned by jwolf but "find" could not find those 3 files. And "bdf" reported the filesystem is full. See below please.
Thanks.
###########################################
# quot -f /
/dev/vg00/rlvol3 (/):
848968 3 jwolf
299169 1369 bin
9216 1203 root
8 8 lp
1 1 uucp
# find / -xdev -user jwolf
#
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1179648 1179648 0 100% /
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2010 09:25 AM
тАО06-07-2010 09:25 AM
Re: "find" failed to find the files reported by "quot"
> The problem is "quot" sees 3 files owned by jwolf but "find" could not find those 3 files.
You are assuming that these are *files* where they could be *directories*. Compare:
# find / -xdev -type f -user jwolf
...with:
# find / -xdev -type d -user jwolf
...or simply:
# find / -xdev -user jwolf
> And "bdf" reported the filesystem is full.
So, then find out where the most space is consumed:
# du -xk / |sort -rnk1,1|more
Make sure that there are no regular files in '/dev' too. You might find objects like '/dev/rmt/om' [that's an "o" instead of a zero].
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2010 09:49 AM
тАО06-07-2010 09:49 AM
Re: "find" failed to find the files reported by "quot"
# umount /home
And do again the find.
Greetz,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2010 08:02 PM
тАО06-18-2010 08:02 PM
Re: "find" failed to find the files reported by "quot"
Thank you all