Operating System - HP-UX
1834149 Members
2367 Online
110064 Solutions
New Discussion

Re: null file has been created unde /dev unable to delete

 
Johnson Punniyalingam
Honored Contributor

null file has been created unde /dev unable to delete

Hi Guys,

can anyone - advice my / file system is 100% full, by checking found big size of null file has been created,unde /dev

recently the 2 days back we replaced faulty mirror disk

can we delete the file .? how to delete .?

bdf /
Filesystem kbystes used avail %used Mounted on
/dev/vg00/lvol3 311296 311275 21 100% /



Thanks
Johnson
Problems are common to all, but attitude makes the difference
5 REPLIES 5
Dennis Handly
Acclaimed Contributor

Re: null file has been created unde /dev unable to delete

What does "ll /dev/null" show?

Here is how to recreate it:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=184632
Johnson Punniyalingam
Honored Contributor

Re: null file has been created unde /dev unable to delete

Hi Dennis,

One of my Colleague helped to deleted that file under /dev

mv null nullc
than he deleted

mv nullc null

he didn't show me how did he deleted bit confused".

after deleting the null file
/ file system usage showed 27% very weired ..:(

HP CE helped to replace the faulty disk

now i am in the process of vgcfgrestore

re-mirror the "lvol"

my humble Question why was the null file was created.?

Thanks,
Best Regards,
Johnson
Problems are common to all, but attitude makes the difference
Dennis Handly
Acclaimed Contributor

Re: null file has been created unde /dev unable to delete

>why was the null file was created?

You should have looked inside the file.
Basically if the file gets removed, there are plenty of scripts trying to write to it. If they have the proper permissions, null will be created as an ordinary file.
Johnson Punniyalingam
Honored Contributor

Re: null file has been created unde /dev unable to delete

Hi Dennis,

Bunch of thanks for your Quick replies.. dude,

I will check with my "Colleague" i asked him the same Question he told me some charcter file,

Once again thanks will asign points


Rgds,
Johnson
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: null file has been created unde /dev unable to delete

Thanks
Problems are common to all, but attitude makes the difference