![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| numbers on permanently through .bash_profile | zorrokan | UNIX for Dummies Questions & Answers | 3 | 08-22-2007 03:28 AM |
| unmounting problem | karthikosu | AIX | 3 | 02-04-2007 06:00 AM |
| how to alter the old file permanently using sed? | mxms755 | UNIX for Dummies Questions & Answers | 2 | 04-05-2006 11:09 PM |
| Turning off MMDF permanently | QmanV2 | UNIX for Dummies Questions & Answers | 4 | 07-07-2003 01:44 PM |
| Unmounting a cd in Solaris | Jody | UNIX for Dummies Questions & Answers | 3 | 10-14-2002 01:15 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Unmounting /home Permanently
Hi! I got tired of running out of disk space on the different partitions on my Solaris 8 Ultra 5 computer so I tried to make just a big / partition and install everything on that. But somehow I managed to get a 0 byte /home partition :-) I tried to delete this (By just clicking it in X-Windows and pressing delete) and make a new folder in / called home and use this instead. This worked fine until I restarted the computer. Then somehow the old 0 byte /home had returned and my own /home was gone.
Does anybody know how to delete this 0 byte /home permanently so that I can create my own /home again. I heard I need to edit some partition file some ware but I’m not sure how. Can anybody help me? Best regards, Anders Windelhed |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Just remove the info for /home from /etc/vfstab
|
|
#3
|
|||
|
|||
|
Hum… Maybe that’s not the problem. I opened the /etc/vfstab file and it said nothing about /home. df –k doesn’t either say anything about /home but I still cant create any directories in /home or remove it with rmdir.
What do you think? $ pwd /home $ df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t0d0s0 8565372 1038684 7441035 13% / /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd mnttab 0 0 0 0% /etc/mnttab swap 258896 8 258888 1% /var/run swap 284232 25344 258888 9% /tmp $ mkdir test mkdir: Failed to make directory "test"; Operation not applicable $ ls $ rmdir /home rmdir: directory "/home": Directory is a mount point or in use $ /etc/vfstab #device device mount FS fsck mount mount #to mount to fsck point type pass at boot options # #/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes - fd - /dev/fd fd - no - /proc - /proc proc - no - /dev/dsk/c0t0d0s1 - - swap - no - /dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no - swap - /tmp tmpfs - yes - |
|
#4
|
|||
|
|||
|
can you
umount /home then delete the 0 byte partition using format ??? Last edited by thangorn; 12-19-2001 at 03:30 AM. |
|
#5
|
|||
|
|||
|
I tried to type “umount /home” and then my “self made” /home with my own user dir returnet! :-) but as soon as I restart the computer the empty read-only undeletable /home returns!
How do I use format to delete this unusable /home? |
|
#6
|
||||
|
||||
|
You are running the automounter and you have a /home entry in /etc/auto_master. Turn off the automounter or at least remove the offending entry.
|
|
#7
|
|||
|
|||
|
Thanks!
I just put a # infront of /home in /etc/auto_master and now everything works fine! Maximum respect! |
|||
| Google The UNIX and Linux Forums |