Warnings about read-only filesystems while installing a Solaris package


 
Thread Tools Search this Thread
Operating Systems Solaris Warnings about read-only filesystems while installing a Solaris package
# 1  
Old 12-27-2012
Warnings about read-only filesystems while installing a Solaris package

I have two test machines having solaris 10. I have shared a location which have a package on machine1 and mounted that location onto machine2 as below.
Code:
machine1:  share -F nfs -o rw /home1/pkg/test
machine2:  mount -F nfs -o rw machine2:/home1/pkg/test /tmp/test

Now, when i am trying to install that package which is in /tmp/test on machine2 by providing installation directory as /tmp/test, the following warning message is being displayed.

Code:
WARNING: /tmp/test/<pkg_file1> <not present on Read Only file system> (for each file of the package)

But at the last it is showing, instllation of pkg was successful. And that package is added to installed package list.

please tell me why these error messages are coming. and how can i abort my package installation by changing "request" script.

---------- Post updated 12-27-12 at 11:47 AM ---------- Previous update was 12-26-12 at 05:53 PM ----------

please anybody help me in this contextSmilie

Last edited by snreddy_gopu; 12-26-2012 at 08:45 AM..
# 2  
Old 12-27-2012
Are you trying to install the package in a zone?
What package are you trying to install?
Did you try to install it from a local filesystem not from nfs?
Maybe
Code:
truss

can help to find what is the problem?
# 3  
Old 12-27-2012
I am not trying to install the package in zones.

While installing the package it asks for "installation directory". If you provided any directory in local file system, there is no problem with the installation.
If you entered a directory which is a mount point of a shared location on another machine, it is giving that error.

Is it related to zones(using mount point as installation directory)? I have no idea about Solaris zones.

Last edited by snreddy_gopu; 12-27-2012 at 07:37 AM..
# 4  
Old 12-28-2012
Try to use "-o root=hostB IP"
Code:
hostA: # share -o root=<hostB IP> /home1/pkg/test
hostB: # mount -F nfs <hostA IP>:/home1/pkg/test /tmp/test
hostB: # cd /tmp/test
hostB: # ls
common-1.4.5-SunOS5.8-sparc-CSW.pkg
hostB: # pkgadd -d com* -R /tmp/test


The following packages are available:
  1  CSWcommon     common - common files and dirs for CSW packages
                   (sparc) 1.4.5

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:

Processing package instance <CSWcommon> from </tmp/test/common-1.4.5-SunOS5.8-sparc-CSW.pkg>

common - common files and dirs for CSW packages(sparc) 1.4.5
## Software contents file initialized
http://www.blastwave.org/ packaged for CSW by Philip Brown
## Executing checkinstall script.
Using </tmp/test> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

Installing common - common files and dirs for CSW packages as <CSWcommon>

## Installing part 1 of 1.
/tmp/test/opt/csw/bin/sparc <symbolic link>
/tmp/test/opt/csw/doc <symbolic link>
/tmp/test/opt/csw/info <symbolic link>
/tmp/test/opt/csw/lib/32 <symbolic link>
/tmp/test/opt/csw/lib/64 <symbolic link>
/tmp/test/opt/csw/lib/locale <symbolic link>
/tmp/test/opt/csw/lib/sparc <symbolic link>
/tmp/test/opt/csw/lib/sparcv8 <symbolic link>
/tmp/test/opt/csw/man <symbolic link>
/tmp/test/opt/csw/share/locale/bg/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/cs/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/da/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/de/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/el/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/es/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/fr/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/gl/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/it/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/ja/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/ko/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/locale.alias
/tmp/test/opt/csw/share/locale/nl/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/no/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/pl/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/pt/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/pt_BR/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/ru/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/sk/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/sl/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/sv/LC_TIME <symbolic link>
/tmp/test/opt/csw/share/locale/zh/LC_TIME <symbolic link>
[ verifying class <none> ]

Installation of <CSWcommon> was successful.
hostB: # ls -l
total 50
-rw-r--r--   1 root     root       23552 gr 28 16:20 common-1.4.5-SunOS5.8-sparc-CSW.pkg
drwxr-xr-x   3 root     root         512 gr 28 16:27 opt
drwxr-xr-x   3 root     root         512 gr 28 16:27 var

hostA # pwd
/home1/pkg/test
hostA # ls -la
total 54
drwxr-xr-x   4 root     root         512 gr 28 16:27 .
drwxr-xr-x   3 root     root         512 gr 28 16:19 ..
-rw-r--r--   1 root     root       23552 gr 28 16:20 common-1.4.5-SunOS5.8-sparc-CSW.pkg
drwxr-xr-x   3 root     root         512 gr 28 16:27 opt
drwxr-xr-x   3 root     root         512 gr 28 16:27 var
hostA: # pkginfo -l -R /home1/pkg/test CSWcommon
   PKGINST:  CSWcommon
      NAME:  common - common files and dirs for CSW packages
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  1.4.5
   BASEDIR:  /
    VENDOR:  http://www.blastwave.org/ packaged for CSW by Philip Brown
      DESC:  Installs some useful standard CSW filesystem symlinks and files
    PSTAMP:  ra20070504125250
  INSTDATE:  gr 28 2012 16:31
   HOTLINE:  http://www.opencsw.org/bugtrack/
     EMAIL:  phil@opencsw.org
    STATUS:  completely installed
     FILES:      144 installed pathnames
                 113 directories
                   6 blocks used (approx)

# 5  
Old 12-28-2012
try to do in this way:

machine1: share -F nfs -o rwx /home1/pkg/test
machine2: mount -F nfs -o rwx machine2:/home1/pkg/test /tmp/test
# 6  
Old 01-03-2013
Hi GP81,
Thanks for your explanation by taking an example.
I have shared and mounted the directory as you done in the above. But still I am getting that error
Code:
"WARNING : <not present on Read Only file system>"

please observe the below output.
Code:
hostB#cd /tmp/test
hostB#touch temp.txt
touch: temp.txt cannot create

I am unable to create a temporary file in that mount point. May be because of this, am i still getting that error?

I have small doubt regarding installation of <CSWcommon>.
you have installed CSWcommon on hostB by specifying the mountpoint /tmp/test as installation directory. But why CSWcommon was added to installed package list on hostA instead of hostB.
Could you please clarify me on this? I think, we are using that location for only storage of files like DVD or CD-ROM.

Hi vamshigvk475,

There is no "rwx" option for share command.

Last edited by snreddy_gopu; 01-03-2013 at 05:14 AM..
# 7  
Old 01-03-2013
What is the output of
Code:
hostA: # ls -ld /home1/pkg/test
hostA: # share | grep test
hostB: # mount | grep test

In my exampe I use 'pkginfo -R', so the path of packages install directory is redefined.
If I would uninstall package, I can use 'pkgrm -R' on both sides and it will work. As you can see, after installation there is 'var' directory in /hime1/pkg/test, which stores information about CSWcommon. When I use
Code:
# pkginfo | grep CSWcommon

the output is empty.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Installing package

Hi, I need to use the tool "meminfo" in the server, however am not able to as it says the package is not found. I am also not able to find the package in the "HPUX Porting and Archive center". Please guide on how to install this package? Thanks, Aigini (1 Reply)
Discussion started by: anaigini45
1 Replies

2. Red Hat

Ext3 filesystems on san become read only

Hi all, Today I´m faced a situation where two of my ext3 filesystems on a san become read only. This happens 3 times today. The usual way to get this filesystems read and write was to reboot the server. But now the continuous go to ro mode instead of rw mode, crashes my database. I have... (7 Replies)
Discussion started by: mig28mx
7 Replies

3. BSD

Installing MySQL package

Hey all I'm having a little trouble installing a MySQL database. This is what I tried... export PKG_PATH=ftp://mirror.planetunix.net/pub/OpenBSD/4.9/packages/`machine -a` pkg_add -v mysql-server mysql-client and this is what I get Unknown element: @rcscript /etc/rc.d/mysqld in... (1 Reply)
Discussion started by: desreguard
1 Replies

4. UNIX for Dummies Questions & Answers

Read only filesystems

hi guys suse 10.2 today some guys are adding some luns from a SAN so in order to add them I followed this command echo 1 > /sys/class/fc_host/host1/issue_lip echo "- - -" > /sys/class/scsi_host/host<number>/scan nice now after that I tried to create a folder in / but it won't let... (2 Replies)
Discussion started by: karlochacon
2 Replies

5. UNIX for Advanced & Expert Users

How to find dependancies of .dstream package (Solaris) & .rpm package( linux)

Friends, Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ? For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies

6. UNIX for Dummies Questions & Answers

Problem while installing WAS ND package

Hi everyone, Hope u doing good. I am trying to installl WebSphere Application Server(WAS) ND package, i got problem at initial level I hope, the problem is with Mozilla browzer. Can anyone trobleshoot the problem An error occurred while starting the launchpad for a WebSphere Application ... (0 Replies)
Discussion started by: sarfraz
0 Replies

7. Solaris

Installing CVS package on solaris machine

Hi all, I am tring to install CVS on my solaris machine. so, I got a package cvs-1.11.22-sol10-x86-local from internet, and did this "pkgadd -d cvs-1.11.22-sol10-x86-local" and the output I got is The following packages are available: 1 SMCcvs cvs (x86)... (2 Replies)
Discussion started by: eamani_sun
2 Replies

8. Shell Programming and Scripting

Installing Explorer package Remotely

I am by no means a scripting person, i understand the basics of Bash and some other shells. but i am still learning a great deal mostly from this site. This is what i am basically trying to do. We have over 1000 sun Blade 1500 clients and 200+ V440, v210, V240 servers. I want the local sysadmin... (0 Replies)
Discussion started by: deaconf19
0 Replies

9. Solaris

CC 5.5 compiler flag to issue 64bit porting warnings on sparc-solaris

Hi, We are porting our application from 32bit to 64bit. We tried -xarch=v9, -xarc=v9a and -xport64=full options so that compiler to issue 64bit porting warnings. But we are not getting any porting warninings WE are using CC 5.5 compiler on sparc-solaris m/c. Please tell us some powerful... (0 Replies)
Discussion started by: shobhah
0 Replies

10. Solaris

Installing font package

Hi All, Where do I find/download this font package 'FONT_FAMILY_SANS_SERIF-FONT_STYLE_NORMAL-14' and how to install it ? When I run an osi utility (ftamtool) it shows me this error: ##FTAM Tool : XView ERROR XView warning: Impossible de charger le jeu de caractères 'FONT_FAMILY_SANS_SERI... (0 Replies)
Discussion started by: andryk
0 Replies
Login or Register to Ask a Question