not able to install the package


 
Thread Tools Search this Thread
Operating Systems Solaris not able to install the package
# 8  
Old 10-01-2008
Quote:
Originally Posted by admin@solaris
You can grow your partition by two way.

online - without unmounting your file system
offline - unmount your file system


Note: -To grow file system is always a risky think ...make sure you have taken your backup successfully before to use these commands.



Offline method: -

#umount /data
#metaclear D100
#metainit d100 2 1 c1t1d0s0 1 c1t2d0s0
# mount /dev/md/dsk/d100 /data
#growfs -M /data /dev/md/rdsk/d100

Online method: -
#metattach d100 c1d1s1
#growfs -M /data /dev/md/rdsk/d100

my only comment here is that you cannot grow the root FS.

Your only route here would be to:

1. use "du -sk" to find out where your full directories are;
2. check in places such as /var/crash, /var/core, /var/tmp and delete anything that you can;
3. looks like /export/home is in your root file system - check that area too for users storing large files.

the only other way that this is to backup your important data and re-install the OS and change the layout of the disk at the same time.
# 9  
Old 10-01-2008
@ admin@solaris:
the OP doesn't use metadevices... so your solution won't work.

@ OP
if you have a second (new) disk that you can attach to your system, you can use the "liveupgrade" option to grow your filesystem. look at docs.sun.com for "liveupgrade". also you can do a "ufsdump" of your filesystems to a new (bigger) disk... but as grippo already said, there isn't a growfs solution with your configuration.

greets,
DN2
# 10  
Old 10-01-2008
I believe there is a growfs solution with the OP configuration assuming he is able to back-up slice 7 350 MB of data on a removable media (eg. a CD or a USB drive). The "no growfs on /" limitation can easily be overcome by booting on a Solaris installation media or Live CD.
s7 being more than likely contiguous to s0, both of these partitions can be resized to suit the needs and growfs used to enlarge the root filesystem.
# 11  
Old 10-02-2008
Another option (although not a pleasant one):
dump the contents of /export/home onto a tape or CD or DVD
Record the results of
Code:
du -sh /opt

Record the results of
Code:
du -sh /var

Insert bootable Solaris CD
Code:
init 0
boot -s cdrom
format

Delete slice 7
Make 3 new slices - one for /opt, one for /var and one for /export/home (stick with slice 7 to avoid confusion)
Code:
mkdir /tmpopt /tmpvar
mount /dev/dsk/c0t0d0s0 /mnt
mount /dev/dsk/c0t0d0s(x) /tmpopt  ###pick a number between 1 and 6 that is not being used and is not 2
mount /dev/dsk/c0t0d0s(y) /tmpvar  ###pick a number between 1 and 6 that is not being used and is not 2 and not the number above

copy the contents of /mnt/opt into /tmpopt, copy the contents of /mnt/var into /tmpvar

**** Take care when copying the contents - there are several options that work well, and several that don't. Make sure that you are VERY aware of pathing when cloning these two directories. ****

modify /etc/vfstab to mount /dev/dsk/c0t0d0sx to /opt and /dev/dsk/c0t0d0sy to /var
Reboot

If the system behaves as expected, reboot from the Solaris CD into single user mode again. Mount /dev/dsk/c0t0t0s0 /mnt.
Delete the contents of /mnt/var and /mnt/opt

Reboot and enjoy
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Can't install rpm package with --prefix in new path.Error: package is not relocatable

Hello, i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm" in /usr/local/ directory. I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't. I did: 1st try: Didn't work sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies

2. UNIX for Advanced & Expert Users

install a obsoleted package

How do you install a obsoleted package? This is the error message if you are curious. $ sudo rpm -i /home/bob/Downloads/OOO330_m20_native_packed-1_en-US.9567/RPMS/openoffice.org-ure-1.7.0-9567.i586.rpm password for bob: error: Failed dependencies: openoffice.org-ure < 1:3.3.1 is... (5 Replies)
Discussion started by: cokedude
5 Replies

3. Linux

How install a new package without remove old package?

Dear all, I would like to install a new version of package without remove old version on Centos and vice versa. Please give me advice! thanks much, (2 Replies)
Discussion started by: all4cfa
2 Replies

4. Ubuntu

How to Install TCSH package in Ubuntu 11?

I am trying to install tcsh package in ubuntu 11 When i tried to invoke the tcsh,i was prompted to contact administrator to install tcsh package. Since i am also the admin on my system its my job to install tcsh :D I have downloaded tcsh package named "tcsh-6.17.00.tar", since i don not have... (12 Replies)
Discussion started by: animesharma
12 Replies

5. UNIX for Advanced & Expert Users

snoop package install

I was trying to install the solaris snoop package on a flavor of linux. I got the tar file, unzipped it. when I CD to the unzipped snoop directory, I ran the command ./configure ; make and I got the following error. Did anybody run into this before? what can I do to install snoop? checking... (1 Reply)
Discussion started by: Pouchie1
1 Replies

6. Solaris

how to install this package

Dears, i am new user in solaris i am using solaris 10 https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=Sol-audio-drivers1.0-x86-G-F@CDS-CDS_SMI after i unzip this package i didn't found any package to install cos i only... (1 Reply)
Discussion started by: sharkux
1 Replies

7. UNIX and Linux Applications

looking for ImageMagick install package

i am struggling to find an error free, and complete install package for ImageMagick (with perl- "PerlMagick"). imagemagick.org not much help.... links for source, mirrors etc dont work. any pointers appreciated. linux server. (2 Replies)
Discussion started by: mickeymouse
2 Replies

8. Solaris

install and uninstall package

I'm a newcomer for Solaris. I tried to install Net::FTP package ( a tool perl ) on our sun server 5.9. We used the below command: /usr/bin/perl MakeFilePL make make install How can I uninstall this package ? (1 Reply)
Discussion started by: anhtt
1 Replies

9. Solaris

how to install package

Hi How to install package from Freeware for Solaris Specificaly i want to install lsof-4.77-sol10-sparc-local.gz Thanks Amit (2 Replies)
Discussion started by: amitarcade
2 Replies

10. UNIX for Dummies Questions & Answers

uninstall and install a package

Hi, on Red Hat Enterprise Linux AS release 3 (Taroon). How can I : 1-install a package (exemple : compat-gcc-7.3-2.96.128.src.rpm) 2-uninstall (or delete or deinstall) a package (exemple : compat-gcc-7.3-2.96.122). Many thanks before. (6 Replies)
Discussion started by: big123456
6 Replies
Login or Register to Ask a Question