Summary : Re: File Systems : urgent

From: <gmadhavi_at_hss.hns.com>
Date: Fri Jun 22 2001 - 00:07:10 EDT
thanks a lot again.. :)


---------------------- Forwarded by Madhavi Gauripeddi/HSSBLR on 06/22/2001
09:27 AM ---------------------------


Madhavi Gauripeddi
06/21/2001 04:07 PM

To:
cc:

Subject:  Re: File Systems : urgent  (Document link not converted)

Hi all,

Thanks a lot for all the kind help that is rendered.

Thanks to all of you and in particular to
Christophe Dupre
Kevin M Korb
Harry Ford
Rahul Parasnis
Patricio Mora
Deependra Srivatsava
Karl Devitt
John Philips

Here's the soln. I followed.

1.  Boot single user mode so there is nothing running that could be using
    /opt like this:
     ok  boot -s
2.  Mount the new /opt filesystem somewhere else like this:
     mount /dev/dsk/c0t0d0s5 /mnt
3.  Copy the data from the old /opt to the new one that is now /mnt:
     cd /opt
     find . -print | sort | cpio -pvdmu /mnt
4.  Remove the old /opt from the root file system:
     cd /
     rm -rf /opt
     mkdir /opt
5.  Put an entry into your /etc/vfstab file that looks something like this:
/dev/dsk/c0t0d0s5 /dev/rdsk/c0t0d0s5 /opt ufs 2 yes -

6.  Reboot into multi-user mode.

Thanks and Best regards,
Madhavi.






gmadhavi@hss.hns.com on 06/21/2001 12:48:12 PM

To:   sunmanagers@sunmanagers.org
cc:    (bcc: Madhavi Gauripeddi/HSSBLR)

Subject:  File Systems : urgent






Hi all,

This is kind of very urgent.

The problem is like this.

this was my partition table which i created with a linux background. so i
didn't keep into view abt /opt which resided

Filesystem               kbytes          used       avail    capacity
Mounted on
/proc                         0                    0           0
0%          /proc
/dev/dsk/c0t0d0s0        480815    392637   40097    91%          /
/dev/dsk/c0t0d0s6        1027134   750934   214572  78%      /usr
fd                                 0               0          0         0%
        /dev/fd
/dev/dsk/c0t0d0s7        6046389   378489   5607437   7%    /export/home
/dev/dsk/c0t0d0s5        1940382   0      1940382   100%    /usr1
swap                          37008           3000      34008     9%
/tmp

so later i realized the mistake but since i was in a hurry .. :(  mounted
the usr1 partition as /opt

Filesystem               kbytes          used       avail    capacity
Mounted on
/proc                         0                    0           0
0%          /proc
/dev/dsk/c0t0d0s0        480815    392637   40097    91%          /
/dev/dsk/c0t0d0s6        1027134   750934   214572  78%      /usr
fd                                 0               0          0         0%
        /dev/fd
/dev/dsk/c0t0d0s7        6046389   378489   5607437   7%    /export/home
/dev/dsk/c0t0d0s5        1940382   495369   1386802    27%    /opt
swap                          37008           3000      34008     9%
/tmp

now u must have observed that / remains the same which runs out of memory
every other instant.

now how do i remove the opt directory which is still resident in / without
affecting /opt?

how do i overcome this? i am sorry but this is very very urgent and the
screen almost gets fill every other second with low on memory whenever i
try to run something.

pls help..

best rgrds,
madhavi.



_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Jun 22 05:07:10 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:57 EDT