02-03-2010
Note that due to pooling, compression, deduplication, quotas, reservations, snapshots, copies and other specific features, the notion of available and total disk (actually file system) space shown by "df" or other commands tends to be less meaningful and often confusing when you use ZFS.
10 More Discussions You Might Find Interesting
1. Programming
I everybody!!
How can i use statvfs() to calculate disk usage and free disk space??
Im using this code:
/* Any file on the filesystem in question */
char *filename = "/home/nesto/test/test.cpp";
struct statvfs buf;
if (!statvfs(filename, &buf)) {
... (1 Reply)
Discussion started by: ninjanesto
1 Replies
2. Solaris
In linux df is the command to find free space what is the equivalent command in the Solaris (2 Replies)
Discussion started by: harishankar
2 Replies
3. AIX
Hi,
I see from lsvg the total used PPs is 1050 (67200 megabytes), but when I check the disk space with df command I can only see 31G total space, can somebody tell how this come?
Thanks!
Victor
# lsvg
rootvg
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: ... (2 Replies)
Discussion started by: victorcheung
2 Replies
4. AIX
Hello,
I would like to free some space to install gcc with is about 50M large, and I have no free space on my system. What can I delete?
Filesystem 1024-blocks Used Free %Used Iused Ifree %Iused Mounted on
/dev/hd4 262144 145436 116708 56% 7981 ... (10 Replies)
Discussion started by: aixn00b
10 Replies
5. Shell Programming and Scripting
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies
6. Solaris
Hi experts,
In my solaris system when i run the command df -h i got the below response.I have some confusion which i want to share with you guys.1)there are two SWAP file system shows are they same or different?2)if i want to count the total disk space should i take both the swap space or only... (2 Replies)
Discussion started by: rafiassam
2 Replies
7. Solaris
I'm getting ready to start a LU from Sol 9 to Solaris 10. I want to ensure that I have enough disk space for future upgrades. What I don't know is what free space Solaris requires.
If I have 10GB of free space in /opt, will Solaris 10 use that for a LU?
Or, do I need to allocate 10GB of space... (5 Replies)
Discussion started by: zeekstern
5 Replies
8. Shell Programming and Scripting
Hi,
I would like to create the new file system(mount point) in our unix server.
before that i would like to know the total free space available in /home directory.
Can you please let me know, how to find free space available for new filesystem?
Be careful with your spelling and... (2 Replies)
Discussion started by: koti_rama
2 Replies
9. Solaris
Hi Everyone,
I try to calculate the total hard disk space of a solaris machine using iostat -En command. Iterating the output and summing up all the number present near the Size: will give the exact size of the harddisk. But it is not working for a machine.
This command works in many flavors... (2 Replies)
Discussion started by: prasankn
2 Replies
10. Shell Programming and Scripting
i want to write a shell script,when disk uses is 90% then automatically send a email to distribution list (group member)...... (1 Reply)
Discussion started by: sonu pandey
1 Replies