Operating System - HP-UX
1834088 Members
2897 Online
110063 Solutions
New Discussion

Re: /home file system is full

 
SOLVED
Go to solution
Taulant Shamo
Frequent Advisor

/home file system is full

How can I extend this system file /home.
12 REPLIES 12
MarkSyder
Honored Contributor

Re: /home file system is full

/home is usually small as it doesn't contain much. Are you sure there's nothing there surplus to requirements?

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Pete Randall
Outstanding Contributor

Re: /home file system is full

Probably the easiest way to enlarge it is to use SAM. Otherwise, you'll need to lvextend the logical volume and then extendfs the file system - after you unmount it, of course.

Or, if you have Online JFS, you can extend it on the fly - without unmounting.


Pete

Pete
Taulant Shamo
Frequent Advisor

Re: /home file system is full

Does anyone of you have any procedure to follow?
Pete Randall
Outstanding Contributor

Re: /home file system is full

Do a man on extendfs and look at the EXAMPLES section. The procedure is spelled out quite clearly.


Pete

Pete
bhavin asokan
Honored Contributor
Solution

Re: /home file system is full

hi,

use the following command to find files which is more than 1MB size.check it and delete if not required.

find /home -size +1000000c -exec ll {} \;

for extending the /home

check any user is accessing the /home

fuser -cu /home

if yes,exit that user and use the following command to remove the access of users/daemons
with home directory.

fuser -ku /dev/vg00/lvolXX

(replace lvolXX with the lvol of your /home)

make sure that your /home is vxfs filesystem

fstyp /dev/vg00/lvolXX

unmount the /home mount

umount /home
lvextend -L /dev/vg00/lvolXX
extendfs -F vxfs /dev/vg00/rlvolXX

mount -a

regds,

Taulant Shamo
Frequent Advisor

Re: /home file system is full

Thank you all especially Bhavin Asokan

Another question related with this is:
I have a spare disk, but how can I connect is and use it for other files systems if is needed.

Taulant
V. Nyga
Honored Contributor

Re: /home file system is full

Hi,

first - it depends on your hardware. Can you tell us more? hw? OS?

Normally you can connect it to the (right) bus without problems.

Then you can search in SAM for the new disc and create a new directory.

Volkmar
*** Say 'Thanks' with Kudos ***
Taulant Shamo
Frequent Advisor

Re: /home file system is full

Lets say new one disk to connect to the disk and about SCSI id ? I have to reboot sytem to let system know the new device ? the format is needed. May bee these are stubit questions :)
V. Nyga
Honored Contributor

Re: /home file system is full

Hi again,

can you tell us which hardware and which software/os do you have?
Do you have external discs? Or internal?

V.
*** Say 'Thanks' with Kudos ***
Taulant Shamo
Frequent Advisor

Re: /home file system is full

External disks and HP-UX 11i
V. Nyga
Honored Contributor

Re: /home file system is full

If you can shutdown the system, then it's the best.

With 'ioscan -fn' you get a list with all hardware - there you can see which SCSI id is already used.

You have to set the SCSI id of the new disc to an unused id. Then shutdown ws and connect disc to the choosen SCSI interface.

After startup and starting SAM you should see it as an unused disc.

Volkmar
*** Say 'Thanks' with Kudos ***
Taulant Shamo
Frequent Advisor

Re: /home file system is full

Thanks a lot