Operating System - HP-UX
1827587 Members
2740 Online
109965 Solutions
New Discussion

local disk i.e / root disk reaching 100% capacity.

 
Chern Jian Leaw
Regular Advisor

local disk i.e / root disk reaching 100% capacity.

HI,

I have my NFS server's / directory reaching a 100% capacity. Before it happened, I had copied some filesystems from 1 remote machine into my NFS server. I had used rcp i.e
#
rcp /home/cs-pg/ken_lee/schematics tigger.slg.willowglen.com:/home/cs-pg/ken_lee

Both the remote machine and the NFS server have the exact filesystems. Only difference is /home/cs-pg/ken_lee on the NFS server is empty. /home/cs-pg/ken_lee on the NFS server is mounted as /home/cs-pg/.

When the copying completed I realized the contents of /home/ contained duplicated copies of cs-pg, with similar user names i.e root, but different group names:

#cd home
#ls -l
drwxrws--- .... root wmt ... cs-pg
drwxrws--- .... root system ... cs-pg

Hence I did:
#cd home
#df -k *
/dev/vg32lv02 17670144 ... /home/cs-pg
/dev/hda4 393216 ... /

#ls -lafd *
cs-pg:
.
..
ken_lee

cs-pg.o:
.
..

#cd cs-pg^D
cs-pg/ cs-pg^M/

Hence I had removed the filesystem cs-pg^M/ by doing:
# rm -rf cs-pg?

My question is:
What are the possible reasons for such a scenario to happen?
On the source machine where I copied those filesystems, there were no such filesystems with the hidden character ^M appended to it.

I had also invoked the 10 rcp process simultaneosly to copy the filesystems, each about 10GB - 17GB in size.(I'm not sure if this would be cause of the problem)

I had also tried using rsync, but it produced the same problem.

This is only 1 example which I've provided, but there're many other filesystems in this scenario.

Could someone please help me out?

Thanks.
2 REPLIES 2
Pete Randall
Outstanding Contributor

Re: local disk i.e / root disk reaching 100% capacity.

Is /home a separate file system on both machines? Do a bdf -l and check to see if you have /home listed in the output. If not, that would explain why you're filling up /.

Pete

Pete
Chern Jian Leaw
Regular Advisor

Re: local disk i.e / root disk reaching 100% capacity.

Pete,

/home/cs-pg on the source machine is mounted as /home/cs-pg. This is the same on the destination machine, i.e fileserver.

Both the fileserver and the source machine reside on 2 separate domains. The source machine connected to its own NFS fileserver.

Any ideas?

By the way, how do I create a filesystem or an ordinary directory with a hidden character appended at the end of the directory/filesystem name?

I would like to test this scenario to verify if the rcp or rsync process could differentiate the names of files/directories with and without hidden characters appended to it.