1839999 Members
2902 Online
110158 Solutions
New Discussion

ROOT FULL

 
Amit Dixit_2
Regular Advisor

ROOT FULL

Hi,
I am having strange behaviour from my HP-UX
system

LVM Device file mount point size fs type
/dev/vg00:
/vg00/lvol1 /stand 304 vxfs
/dev/vg00/lvol2 swap 4096
/dev/vg00/lvol3 / 504 vxfs
/dev/vg00/lvol4 /tmp 200 vxfs
/dev/vg00/lvol5 /home 24 vxfs
/dev/vg00/lvol6 /opt 2840 vxfs
/dev/vg00/lvol7 /usr 2400 vxfs
/dev/vg00/lvol8 /var 4600 vxfs
/dev/vg00 unallocated 18856

Above is the system layout for my system.

Below is the outpuk of df -k

/data1 /dev/vg00/lvol9
5745771 total allocated Kb
5727801 free allocated Kb
17970 used allocated Kb
0 % allocation used

/home /dev/vg00/lvol5
8225616 total allocated Kb
8216936 free allocated Kb
8680 used allocated Kb
0 % allocation used

/opt /dev/vg00/lvol6
4178808 total allocated Kb
1971840 free allocated Kb
2206968 used allocated Kb
52 % allocation used

/tmp /dev/vg00/lvol4
2081080 total allocated Kb
2050544 free allocated Kb
30536 used allocated Kb
1 % allocation used

/usr /dev/vg00/lvol7
4177328 total allocated Kb
2163568 free allocated Kb
2013760 used allocated Kb
48 % allocation used

/var /dev/vg00/lvol8
4674432 total allocated Kb
4582208 free allocated Kb
92224 used allocated Kb
1 % allocation used

/stand /dev/vg00/lvol1
309696 total allocated Kb
210824 free allocated Kb
98872 used allocated Kb
31 % allocation used

/ /dev/vg00/lvol3
515488 total allocated Kb
81336 free allocated Kb
434152 used allocated Kb
84 % allocation used

Now when i download a file using ftp to /data1
my / (root) partition gets full.
Why is it so...
please help me.

thanks,
amit
8 REPLIES 8
RAC_1
Honored Contributor

Re: ROOT FULL

Post the bdf output

Anil
There is no substitute to HARDWORK
Michael Tully
Honored Contributor

Re: ROOT FULL

As what user are you attempting to do the ftp session with? If it is root, by default it will attempt to place the transferred file in root's home directory (/ or /root) depending on config of root user. Always change directory to /tmp or somewhere else.
Anyone for a Mutiny ?
Pete Randall
Outstanding Contributor

Re: ROOT FULL

In your first output (from what command?), there is no lvol9, yet in your df output, there is??? How about showing us a vgdisplay and a bdf?


Pete

Pete
Geoff Wild
Honored Contributor

Re: ROOT FULL

Is /data1 mounted?

If not - then that's why / is filled up...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Amit Dixit_2
Regular Advisor

Re: ROOT FULL

Hi,
Attached is the output for vgdisplay and
bdf

when I downloaded the file my lcd was
/data1/
and yes /data1 is mounted

Thanks,
Amit

Geoff Wild
Honored Contributor

Re: ROOT FULL

strange...okay, what happens if you cd to /data1 first?

Then ftp and do not lcd.

Also, can you create a file in /data1?

cd /data1
prealloc test.10mb 10240000

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
V. Nyga
Honored Contributor

Re: ROOT FULL

Hi Amit,

try 'umount -a' and then 'mount -a' and check if there are any messages about /data1

It seems like you can't get access to /data1

Volkmar
*** Say 'Thanks' with Kudos ***
Todd McDaniel_1
Honored Contributor

Re: ROOT FULL

KISS comes to mind in this case...

Keep it simple silly...

Do the easiest least amount of work. Dont try to be clever when having a problem like this.

Make sure what user you are
Make sure what dir you are in
Make sure it is mounted... as you have.
Execute the command from the command line and then later from a script.


To trouble shoot only change one thing each time to ensure you test in a logical manner. Then change that back and change a different parm if that doesnt work.

I dont mean this to insult anyone, just as a way to take a deep breath and rethink your problem.
Unix, the other white meat.