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.
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 -
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?
2) what is this /proc? besides a filesystem , what special meaning/puposes does it servers.. as i seem to notice that almost every SUN system has this /proc
3) mnttab refers to the mounting table. why is it empty?
4) the two entries of swap meant that a filesystem can be mounted at 2 different directories. at least it appears to be so.. which. my understanding is that a fielsystem can only be mounted at one diretory at any one time. ... swap is recommended to be twice of ram, genearlyl
please teach... my past experiences deals with logical volumes.. and now have to make the adjustment to sun as my organisation just got a sun sever..