how to read the output of df -k and about logical volumes commands
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how to read the output of df -k and about logical volumes commands
Currently we are having the following linux intel boxes in our company.
uname -n output is this
Linux u060ms01 2.4.18-18.7.xsmp #1 SMP Wed Nov 13 19:01:42 EST 2002 i686 unknown
For example, if we take the root file system,
I am not understanding why the sum of
Used ( 214852 ) + Available ( 2306624 ) is not equal to 2656420.
Can somebody explain about this.
Apart from the above, if you are familiar with the logical volume manager commands.
I am interested in knowing.
commands to list the volume groups,logical volumes, how to know so and so logical volume is sitting on so and so logical disk etc.,
Re: how to read the output of df -k and about logical volumes commands
Quote:
Originally posted by jdara1 Currently we are having the following linux intel boxes in our company.
uname -n output is this
Linux u060ms01 2.4.18-18.7.xsmp #1 SMP Wed Nov 13 19:01:42 EST 2002 i686 unknown
For example, if we take the root file system,
I am not understanding why the sum of
Used ( 214852 ) + Available ( 2306624 ) is not equal to 2656420.
Can somebody explain about this.
Apart from the above, if you are familiar with the logical volume manager commands.
I am interested in knowing.
commands to list the volume groups,logical volumes, how to know so and so logical volume is sitting on so and so logical disk etc.,
Jagadish Dara
The difference is due to the the extra LVM information.The information maybe of order of 2mb or more
One way to find out is
od -Ad -a /dev/sda10|grep "E X T"
(note three spaces after E)
The first string you get (ie the address of the line containing the string) defines the actual start of the EXT3 partition.
Another interesting fact is that you will get a very high number and maybe you get confused on the number (saying how can it be the start of EXT3 if the number is too high).
This is becoz the lines are in bytes you have to convert them to sectors(I hope that I don't have to tell you how to do that).
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
Actually, it looks like those devices are not LVM. The numbers don't add up because ext2 reserves some amount of space (defaults to ~5%) for the super-user. This space does not show up in df because it's not available, and it's not, technically, used.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.