Sponsored Content
Operating Systems Solaris Problem in SVM after live upgrade Post 302716945 by amity on Wednesday 17th of October 2012 10:43:16 AM
Old 10-17-2012
Please find the output

Code:
bash-3.2# uname -a
SunOS sunvm 5.10 Generic_147441-01 i86pc i386 i86pc
bash-3.2#
bash-3.2# df /
/                  (/dev/dsk/c0d1s0   ): 1875718 blocks   545592 files
bash-3.2# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c0d1s0        5.8G   4.9G   857M    86%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   569M   992K   568M     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                       5.8G   4.9G   857M    86%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   568M    40K   568M     1%    /tmp
swap                   568M    32K   568M     1%    /var/run
bash-3.2#
bash-3.2#
bash-3.2# metastat -c
d30              m  5.4GB d31
    d31          s  5.4GB c0d0s7
d20              m  517MB d21
    d21          s  517MB c0d0s1
d10              m  5.9GB d11
    d11          s  5.9GB c0d0s0
bash-3.2#
bash-3.2# metadb
^[[A    flags           first blk       block count
     a m  pc luo        16              8192            /dev/dsk/c0d0s5
     a    pc luo        8208            8192            /dev/dsk/c0d0s5
     a    pc luo        16400           8192            /dev/dsk/c0d0s5
bash-3.2#


Last edited by Scott; 10-17-2012 at 12:49 PM.. Reason: Code tags...
 

9 More Discussions You Might Find Interesting

1. 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

2. Solaris

Problem with live upgrade creation: Telling me metadevices do not exist

Hi I am having a problem creating my live upgrade environment. Here is the error I get: root@server:/# lucreate -c SOL10_18May -n SOL10_19May -z /lu_excludelist -m /:dev/md/dsk/d0:ufs -m /var:/dev/md/dsk/d4:ufs -m /export/home:/dev/md/dsk/d6:ufs -m -:/dev/md/dsk/d3:swap -C... (0 Replies)
Discussion started by: notreallyhere
0 Replies

3. 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

4. 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

5. Emergency UNIX and Linux Support

Live Upgrade Query

I am upgrading Solaris-9 Update-7 to Solaris-9 Update-9 through live upgrade. I am able to create another boot environment and have OS DVD inside server. But i am confused for, what command/path should I give for luupgrade. OS DVD is mounted on /mnt Boot environments are Solaris9old (Active now)... (2 Replies)
Discussion started by: solaris_1977
2 Replies

6. 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

7. 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

8. Solaris

Powerpath upgrade with SVM disksets

Hi all I am running the following hardware: 2 SUN Solaris 10 machines They are connected to EMC clarion LUNs We are running a Sun Cluster 3.2 managing both nodes We are using Solaris Volume Manager to handle the shared storage for the cluster. It is using a number of named disk sets that is... (0 Replies)
Discussion started by: abohmeed
0 Replies

9. Solaris

Patching using live upgrade - with non-globalzone

Hi all, I would like to ask what will be the best practice for the following setup / - c0t0d0s0 - current BE (named First) / - c0t0d1s0 - alternate BE (name Second) i have a non-global zone with zonepath in /zones/myzone /mnt/opt - c0t0d2s6 (shared between the 2 BE)... (3 Replies)
Discussion started by: javanoob
3 Replies
createlabel(3)						     Library Functions Manual						    createlabel(3)

NAME
createlabel - Creates a disk label structure for a disk device LIBRARY
Standard C Library (libc.a) SYNOPSIS
#include <sys/types.h> #include <sys/disklabel.h> int createlabel( char *devname, char *name, struct disklabel *disk, char *boot, int boot_len); PARAMETERS
Specifies the device special file name of the device. Specifies the name entry in the /etc/disktab file that is to be used for the label information. Otherwise, specify NULL to indicate that the name entry either is not in the /etc/disktab file, or, if it is, that it should be ignored. Points to the disk label structure that is filled in with the returned disk description on successful completion of the func- tion. Points to the buffer that the function may use to contain the (optional) primary and secondary bootstrap names for the disk label. Specifies the length of the boot buffer. The value must be set to the value of the BUFSIZ constant. DESCRIPTION
The function fills in the disk label structure pointed to by the disk parameter. The resulting disk label can then be written to the disk in order to label it. The function queries the device, using the devname parameter, to obtain the disk's geometry, capacity, and any default partition informa- tion. The function checks the name parameter. If name is non-null, the function looks for an entry in the /etc/disktab file that matches the name string and initializes the disk label structure from that entry. The function then overrides the device data and initializes the disk label structure from the entry in the /etc/disktab file. If the name string is NULL, or has no matching entry in the /etc/disktab file, the function queries the device (using the devname parame- ter) to obtain the device's name string. The function then looks for an entry in the /etc/disktab file that matches that name string, and if it finds a match, initializes the disk label structure from that entry. If an /etc/disktab entry indicates that the device has a dynamic geometry, the function queries the device (using the devname parameter) to obtain the disk's true geometry and capacity and to override any value given in an /etc/disktab entry associated with the device. In this case, any -1 lengths encountered in the partition specifications for the entry are replaced by a value equal to the device's total capacity minus the starting offset of the partition. RETURN VALUES
Upon successful completion of the createlabel function, a value of 0 is returned and the contents of the disk label structure are updated. Upon error, a value of -1 is returned and errno is set to [EINVAL]. ERRORS
Either disk or boot is NULL, or boot_len is not equal to BUFSIZ. FILES
Table of disk partition sizes for supported disks. RELATED INFORMATION
Commands: disklabel(8) Functions: getdiskbyname(3). Files: disklabel(4), disktab(4) delim off createlabel(3)
All times are GMT -4. The time now is 03:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy