1834935 Members
2398 Online
110071 Solutions
New Discussion

Re: swcopy error

 
SOLVED
Go to solution
John McDen
Regular Advisor

swcopy error

I was able to create the depot on the other system but get the error on this system...

* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swcopy.last".
ERROR: "wts15:/tmp/Patches": One or more
filesystems that appear in the filesystem table are not
mounted and cannot be mounted.
* The analysis phase failed for
"wts15:/tmp/Patches".
* Analysis had errors.

Thanks for your help
New to HP
10 REPLIES 10
James R. Ferguson
Acclaimed Contributor

Re: swcopy error

Hi John:

Do you in fact have mountpoints in /etc/fstab that are no longer available? That is, have you 'lvremove'd any logical volumes but forgotten to edit /etc/fstab accordingly?

Regards!

...JRF...
MANOJ SRIVASTAVA
Honored Contributor

Re: swcopy error

Hi John


use -x mount_all_filesystems=false option with the commnad or if doing through the menu change the value of this parameter under option menu.


Manoj Srivastava
S.K. Chan
Honored Contributor

Re: swcopy error

SD is quite fussy about invalid mount points in your /etc/fstab file. If you have any "lef-over" entries in the you have to delete 'em.
# cd /etc
# mv fstab fstab.org
# vi fstab
==> delete approriately.
Re-run your stuff..
Helen French
Honored Contributor

Re: swcopy error

You could probably check try two things:

1) /etc/fstab file and find out if any incorrect entries in that. Normally swinstall gives error about the CDROM mount entry in the fstab file. You can remove any entry if found not useful any more.

2) Select the option in swinstall menu - mount all file systems and make it false.

Normally when installing patches, check the patch description and see if any install insrtuctions given with that. This will eliminate a lot of your time.
Life is a promise, fulfill it!
John McDen
Regular Advisor

Re: swcopy error

Hello Manoj

I am currently using

for PFILE in PH*depot;
do
PNAME=`echo $PFILE | cut -d. -f1`
/usr/sbin/swcopy -s $PWD/$PFILE $PNAME @ $PDEPOT
done

where do I fit the -x mount_all_filesystems=false option.

Thanks
New to HP
Helen French
Honored Contributor
Solution

Re: swcopy error

For the last question:

# swcopy -x mount_all_filesystems=true -s ...

# man swcopy for details.

I thought you were doing swinstall during my first reply :((
Life is a promise, fulfill it!
Helen French
Honored Contributor

Re: swcopy error

Oops....

mount_all_filesystems=false !
Life is a promise, fulfill it!
MANOJ SRIVASTAVA
Honored Contributor

Re: swcopy error

Hi John


do a man swcopy and see the later part of it , in your case you can try

/usr/sbin/swcopy -x mount_all_filesystems=false -s $PWD/$PFILE $PNAME @ $PDEPOT


Manoj Srivastava
James R. Ferguson
Acclaimed Contributor

Re: swcopy error

Hi (again) John:

I guess I can't read today, either. Like Shiju, I was thinking 'swinstall' instead of 'swcopy'!

*No Points Please*.

Regards!

...JRF...
MANOJ SRIVASTAVA
Honored Contributor

Re: swcopy error

Hi James

We all respect you a lot.

Manoj Srivastava