Sun Live Upgrade - lucreate fails


 
Thread Tools Search this Thread
Operating Systems Solaris Sun Live Upgrade - lucreate fails
# 1  
Old 04-28-2010
Sun Live Upgrade - lucreate fails

Hi,

I currently have one BE and would like to create an ABE.
Code:
# lustatus
BE_name                     Complete  Active  ActiveOnReboot  CopyStatus
------------------------------------------------------------------------
coolthreads                 yes       yes     yes             -

But when I run the lucreate command, I keep getting the following error message:

Code:
# lucreate -n "sol_env2" -m /:/dev/dsk/c0t2d0s0:ufs
Please wait while your system configuration is determined.
Determining what file systems should be in the new BE.
/usr/sbin/lustatus: illegal option -- d
USAGE: lustatus [-l error_log] [-o outfile] ( [-n] "BE_name" )
WARNING: The BE_name should be enclosed in double quotes.
Template entry /:/dev/dsk/c0t2d0s0:ufs skipped.

luconfig: ERROR: Template filesystem definition failed for /, all devices are not applicable..
ERROR: Configuration of BE failed.

The target partition is actually bigger in size than the source partition so I wouldn't think that is the problem.

Code:
# prtvtoc /dev/dsk/c0t2d0s0
* /dev/dsk/c0t2d0s0 partition map
*
* Dimensions:
*     512 bytes/sector
*    1056 sectors/track
*       8 tracks/cylinder
*    8448 sectors/cylinder
*   33918 cylinders
*   33916 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      2    00          0 278530560 278530559
       2      5    00          0 286522368 286522367
       7      3    01  278530560   7991808 286522367

I have also checked the target partition has the "wm" flag but still no luck:

Code:
partition> print
Current partition table (original):
Total disk cylinders available: 33916 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 - 32969      132.81GB    (32970/0/0) 278530560
  1 unassigned    wm       0                0         (0/0/0)             0
  2     backup    wm       0 - 33915      136.62GB    (33916/0/0) 286522368
  3 unassigned    wm       0                0         (0/0/0)             0
  4 unassigned    wm       0                0         (0/0/0)             0
  5 unassigned    wm       0                0         (0/0/0)             0
  6 unassigned    wm       0                0         (0/0/0)             0
  7       swap    wu   32970 - 33915        3.81GB    (946/0/0)     7991808

Any suggestions would be greatly appreciated.

Thanks!
# 2  
Old 04-29-2010
no double quotes for the BE name required.
# 3  
Old 04-29-2010
I have tried the BE name with and without double quotes but I always get the same error message.
# 4  
Old 05-10-2010
I ran into the same error today. I had SVM running with root and /var mirrored from c1t0d0 to c1t1d0. My fix was to remove all the metadevices associated with root and /var.

I just started lucreate again and it is running as expected. Smilie

HTH
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Lucreate Fails to Create Boot Environment;

My OS solarius 5.10 Generic_147148-2 i86 Error: please review new boots environments using options 1. Solution - show me the commands Partition is full, try to remove some unneeded files, then try to compress some other unneeded files. man command creates a temp file under... (0 Replies)
Discussion started by: zbest1966
0 Replies

2. Emergency UNIX and Linux Support

AIX upgrade fails

Hello Team, Am trying to upgrade the AIX 6.1 TL 7 to TL 8. My rootvg is mirrored so i have unmirrored and taken out the secondary disk and trying to install the update via smitty alt_clone. The filesets has been installed and finally when making the updated disk as bootable bosboot... (6 Replies)
Discussion started by: gowthamakanthan
6 Replies

3. Solaris

Live upgrade first steps

Hello Guys, I am a little confused about the first step in the live upgrade process. I will be glad if someone can clarify this for me. The pre-live upgrade patch, when do you add this patch to the OS you want to upgrade? 1. before creating the new boot environment? or 2. after creating... (1 Reply)
Discussion started by: cjashu
1 Replies

4. Solaris

Live upgrade query

Hi All, Is it possible to use external san disk for creating alternate boot environment and boot from it.My root disk is about 70 gb and i want to use external san disk for 272gb to create alternate boot environment.If this is possible can you please redirect me some good documents, i had... (1 Reply)
Discussion started by: sahil_shine
1 Replies

5. Solaris

Live Upgrade Issue

I tried a live upgrade for one my solaris 10u8 server which didnt go sucessfull and after that i now have following mounts in memory. df: cannot statvfs /.alt.sol10u8_2/var: No such file or directory df: cannot statvfs /.alt.sol10u8_2/var/run: No such file or directory df: cannot statvfs... (0 Replies)
Discussion started by: fugitive
0 Replies

6. Solaris

Live upgrade question

I want to basically update an ABE that someone created a few months back. I'm sure stuff has changed since it was made, and I was going to delete it and create a new one. But from what I'm looking at, the lumake appears like it would be a faster approach. I want to use live upgrade to... (0 Replies)
Discussion started by: BG_JrAdmin
0 Replies

7. Solaris

live upgrade SUN cluster

Hi, Guys On this weekend I have to upgrade Solaris 10 2 node SUN cluster from u4 to u9. I have not touch Sun cluster for a while so I need some help. Can anybody let me know what I have to do specifically for this upgrade? Thank you very much (4 Replies)
Discussion started by: alex57
4 Replies

8. Solaris

Live upgrade Issue

Hi, I upgraded solaris 10 x86 from update 3 to update 7 with zones installed n UFS file system . The global zone was updated but the non global zone still shows update 3 what could be the reason for this and how can i update the local zones to update 7 (0 Replies)
Discussion started by: fugitive
0 Replies
Login or Register to Ask a Question