The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
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

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 12-18-2001
Registered User
 

Join Date: Oct 2001
Posts: 17
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  
Old 12-18-2001
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 909
Just remove the info for /home from /etc/vfstab
  #3  
Old 12-19-2001
Registered User
 

Join Date: Oct 2001
Posts: 17
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  
Old 12-19-2001
thangorn
Guest
 

Posts: n/a
can you

umount /home
then delete the 0 byte partition using

format

???

Last edited by thangorn; 12-19-2001 at 03:30 AM.
  #5  
Old 12-19-2001
Registered User
 

Join Date: Oct 2001
Posts: 17
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  
Old 12-19-2001
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,610
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  
Old 12-19-2001
Registered User
 

Join Date: Oct 2001
Posts: 17
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
Closed Thread

Tags
solaris

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:26 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0