* [LARTC] trying to find out how much is on a drive?
@ 2006-04-11 13:44 Yvon Dubinsky
2006-04-12 14:48 ` Andy Furniss
2006-04-12 15:06 ` Robert Gabriel
0 siblings, 2 replies; 3+ messages in thread
From: Yvon Dubinsky @ 2006-04-11 13:44 UTC (permalink / raw)
To: lartc
I have a Ferdora 2 machine with 2 drives in it one has the OS and
the main drive for our Samba server on it and the other is the Mirror
drive. What I am trying to find out is how much is on the primary
drive. When I use the "du" command I get a number that seems to be
off. I have the mirror drive mounted to the primary drive, and it
apears as though when I do the "du" command from the root of the
drive is adds in some of the files from the mirror drive. What I am
trying to figure out is if there is a way to use the "du" command and
exclude the mounted mirror drive in my total amount. I used the
command du -ch, which gave the grand total in human form which is
what I want but it seems to include the mirror drive also. How do I
exclude it from adding in the mirror. Thanks,
Yvon Dubinsky
e-commerce admin
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] trying to find out how much is on a drive?
2006-04-11 13:44 [LARTC] trying to find out how much is on a drive? Yvon Dubinsky
@ 2006-04-12 14:48 ` Andy Furniss
2006-04-12 15:06 ` Robert Gabriel
1 sibling, 0 replies; 3+ messages in thread
From: Andy Furniss @ 2006-04-12 14:48 UTC (permalink / raw)
To: lartc
Yvon Dubinsky wrote:
> I have a Ferdora 2 machine with 2 drives in it one has the OS and
> the main drive for our Samba server on it and the other is the Mirror
> drive. What I am trying to find out is how much is on the primary
> drive. When I use the "du" command I get a number that seems to be
> off. I have the mirror drive mounted to the primary drive, and it
> apears as though when I do the "du" command from the root of the drive
> is adds in some of the files from the mirror drive. What I am trying to
> figure out is if there is a way to use the "du" command and exclude the
> mounted mirror drive in my total amount. I used the command du -ch,
> which gave the grand total in human form which is what I want but it
> seems to include the mirror drive also. How do I exclude it from adding
> in the mirror. Thanks,
Have you tried df -h
Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] trying to find out how much is on a drive?
2006-04-11 13:44 [LARTC] trying to find out how much is on a drive? Yvon Dubinsky
2006-04-12 14:48 ` Andy Furniss
@ 2006-04-12 15:06 ` Robert Gabriel
1 sibling, 0 replies; 3+ messages in thread
From: Robert Gabriel @ 2006-04-12 15:06 UTC (permalink / raw)
To: lartc
Try 'du -chsx /*'. This should exclude other filesystems.
On 12/04/06, Andy Furniss <andy.furniss@dsl.pipex.com> wrote:
> Yvon Dubinsky wrote:
> > I have a Ferdora 2 machine with 2 drives in it one has the OS and
> > the main drive for our Samba server on it and the other is the Mirror
> > drive. What I am trying to find out is how much is on the primary
> > drive. When I use the "du" command I get a number that seems to be
> > off. I have the mirror drive mounted to the primary drive, and it
> > apears as though when I do the "du" command from the root of the drive
> > is adds in some of the files from the mirror drive. What I am trying to
> > figure out is if there is a way to use the "du" command and exclude the
> > mounted mirror drive in my total amount. I used the command du -ch,
> > which gave the grand total in human form which is what I want but it
> > seems to include the mirror drive also. How do I exclude it from adding
> > in the mirror. Thanks,
>
> Have you tried df -h
>
> Andy.
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-04-12 15:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-11 13:44 [LARTC] trying to find out how much is on a drive? Yvon Dubinsky
2006-04-12 14:48 ` Andy Furniss
2006-04-12 15:06 ` Robert Gabriel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.