- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: After increate lvol3 ,the system can't startup
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2008 10:14 PM
тАО12-10-2008 10:14 PM
After increate lvol3 ,the system can't startup
Today,i have a idea to extend my root lv /dev/vg00/lvol3.And i have successed extend
it in init 3.
Here is log.
----------------------------------------------
#uname -a
HP-UX L2000 B.11.11 U 9000/800 unlimited-user license
root@L2000:/#bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 819200 95376 718232 12% /
/dev/vg00/lvol1 505392 30768 424080 7% /stand
/dev/vg00/lvol8 4194304 294272 3870256 7% /var
/dev/vg00/lvol7 6144000 920464 5182736 15% /usr
/dev/vg00/lvol6 2097152 2416 2078376 0% /tmp
/dev/vg00/lvol5 6160384 2412160 3718984 39% /opt
/dev/vg00/lvol4 3178496 2376 3151320 0% /home
root@L2000:/#lvdisplay -v /dev/vg00/lvol3|more
--- Logical volumes ---
LV Name /dev/vg00/lvol3
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 800
Current LE 50
Allocated PE 50
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c2t0d0 50 50
--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/dsk/c2t0d0 00160 current
00001 /dev/dsk/c2t0d0 00161 current
00002 /dev/dsk/c2t0d0 00162 current
00003 /dev/dsk/c2t0d0 00163 current
00004 /dev/dsk/c2t0d0 00164 current
00005 /dev/dsk/c2t0d0 00165 current
00006 /dev/dsk/c2t0d0 00166 current
00007 /dev/dsk/c2t0d0 00167 current
00008 /dev/dsk/c2t0d0 00168 current
00009 /dev/dsk/c2t0d0 00169 current
......................................
00040 /dev/dsk/c2t0d0 00200 current
00041 /dev/dsk/c2t0d0 00201 current
00042 /dev/dsk/c2t0d0 00202 current
00043 /dev/dsk/c2t0d0 00203 current
00044 /dev/dsk/c2t0d0 00204 current
00045 /dev/dsk/c2t0d0 00205 current
00046 /dev/dsk/c2t0d0 00206 current
00047 /dev/dsk/c2t0d0 00207 current
00048 /dev/dsk/c2t0d0 00208 current
00049 /dev/dsk/c2t0d0 00209 current
root@L2000:/#lvdisplay -v /dev/vg00/lvol4 |more
--- Logical volumes ---
LV Name /dev/vg00/lvol4
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 3104
Current LE 194
Allocated PE 194
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c2t0d0 194 194
--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/dsk/c2t0d0 00210 current
00001 /dev/dsk/c2t0d0 00211 current
00002 /dev/dsk/c2t0d0 00212 current
00003 /dev/dsk/c2t0d0 00213 current
00004 /dev/dsk/c2t0d0 00214 current
00005 /dev/dsk/c2t0d0 00215 current
00006 /dev/dsk/c2t0d0 00216 current
00007 /dev/dsk/c2t0d0 00217 current
00008 /dev/dsk/c2t0d0 00218 current
......................................
00189 /dev/dsk/c2t0d0 00399 current
00190 /dev/dsk/c2t0d0 00400 current
00191 /dev/dsk/c2t0d0 00401 current
00192 /dev/dsk/c2t0d0 00402 current
00193 /dev/dsk/c2t0d0 00403 current
root@L2000:/#umount /home
root@L2000:/#lvremove /dev/vg00/lvol4
The logical volume "/dev/vg00/lvol4" is not empty;
do you really want to delete the logical volume (y/n) : y
Logical volume "/dev/vg00/lvol4" has been successfully removed.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
root@L2000:/#lvcreate -l 194 -n lvol10 vg00
Logical volume "/dev/vg00/lvol10" has been successfully created with
character device "/dev/vg00/rlvol10".
Logical volume "/dev/vg00/lvol10" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
root@L2000:/#lvdisplay -v /dev/vg00/lvol10|more
--- Logical volumes ---
LV Name /dev/vg00/lvol10
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 3104
Current LE 194
Allocated PE 194
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/dsk/c2t0d0 00210 current
00001 /dev/dsk/c2t0d0 00211 current
00002 /dev/dsk/c2t0d0 00212 current
00003 /dev/dsk/c2t0d0 00213 current
00004 /dev/dsk/c2t0d0 00214 current
00005 /dev/dsk/c2t0d0 00215 current
00006 /dev/dsk/c2t0d0 00216 current
00007 /dev/dsk/c2t0d0 00217 current
00008 /dev/dsk/c2t0d0 00218 current
00009 /dev/dsk/c2t0d0 00219 current
00010 /dev/dsk/c2t0d0 00220 current
00011 /dev/dsk/c2t0d0 00221 current
......................................
00190 /dev/dsk/c2t0d0 00400 current
00191 /dev/dsk/c2t0d0 00401 current
00192 /dev/dsk/c2t0d0 00402 current
00193 /dev/dsk/c2t0d0 00403 current
root@L2000:/#lvcreate -L 1024 -n lvol4 vg00
Logical volume "/dev/vg00/lvol4" has been successfully created with
character device "/dev/vg00/rlvol4".
Logical volume "/dev/vg00/lvol4" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
root@L2000:/#newfs -F vxfs -o largefiles /dev/vg00/rlvol4
version 4 layout
1048576 sectors, 1048576 blocks of size 1024, log size 1024 blocks
unlimited inodes, largefiles supported
1048576 data blocks, 1047224 free data blocks
32 allocation units of 32768 blocks, 32768 data blocks
root@L2000:/#mount -a
mount: /dev/vg00/lvol8 is already mounted on /var
mount: /dev/vg00/lvol7 is already mounted on /usr
mount: /dev/vg00/lvol6 is already mounted on /tmp
mount: /dev/vg00/lvol5 is already mounted on /opt
mount: /dev/vg00/lvol1 is already mounted on /stand
root@L2000:/#bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 819200 95752 717848 12% /
/dev/vg00/lvol1 505392 30768 424080 7% /stand
/dev/vg00/lvol8 4194304 294320 3870208 7% /var
/dev/vg00/lvol7 6144000 920464 5182736 15% /usr
/dev/vg00/lvol6 2097152 2816 2077976 0% /tmp
/dev/vg00/lvol5 6160384 2412160 3718984 39% /opt
/dev/vg00/lvol4 1048576 1357 981775 0% /home
--------------------------------------------
Then i rebooted the machine,and went into lvm maintain mode.The log is belw:
---------------------------------------------
NIT: SINGLE USER MODE
INIT: Running /sbin/sh
# vgchange -a y vg00
Activated volume group
Volume group "vg00" has been successfully changed.
# mount -a
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/root 819200 95848 717752 12% /
/dev/vg00/lvol8 4194304 294552 3869968 7% /var
/dev/vg00/lvol7 6144000 920464 5182736 15% /usr
/dev/vg00/lvol6 2097152 2416 2078376 0% /tmp
/dev/vg00/lvol5 6160384 2412184 3718960 39% /opt
/dev/vg00/lvol4 1048576 1357 981775 0% /home
/dev/vg00/lvol1 505392 30856 423992 7% /stand
# lvremove /dev/vg00/lvol10
The logical volume "/dev/vg00/lvol10" is not empty;
do you really want to delete the logical volume (y/n) : y
Logical volume "/dev/vg00/lvol10" has been successfully removed.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
# lvdisplay /dev/vg00/lvol3
--- Logical volumes ---
LV Name /dev/vg00/lvol3
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 800
Current LE 50
Allocated PE 50
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
# lvextend -l 70 /dev/vg00/lvol3
Logical volume "/dev/vg00/lvol3" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
# extendfs -F vxfs /dev/vg00/rlvol3
vxfs extendfs: FS is dirty, run fsck first.
# fsck -F vxfs /dev/vg00/lvolsss
vxfs fsck: cannot stat /dev/vg00/lvolsss
# fsck -F vxfs /dev/vg00/rlvol3
log replay in progress
replay complete - marking super-block as CLEAN
# extendfs -F vxfs /dev/vg00/rlvol3
# lvdisplay -v /dev/vg00/lvol3 |more
--- Logical volumes ---
LV Name /dev/vg00/lvol3
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1120
Current LE 70
Allocated PE 70
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c2t0d0 70 70
--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/dsk/c2t0d0 00160 current
00001 /dev/dsk/c2t0d0 00161 current
00002 /dev/dsk/c2t0d0 00162 current
00003 /dev/dsk/c2t0d0 00163 current
...skipping...
00005 /dev/dsk/c2t0d0 00165 current
00006 /dev/dsk/c2t0d0 00166 current
00007 /dev/dsk/c2t0d0 00167 current
00008 /dev/dsk/c2t0d0 00168 current
00009 /dev/dsk/c2t0d0 00169 current
00010 /dev/dsk/c2t0d0 00170 current
00011 /dev/dsk/c2t0d0 00171 current
00012 /dev/dsk/c2t0d0 00172 current
00013 /dev/dsk/c2t0d0 00173 current
00014 /dev/dsk/c2t0d0 00174 current
00015 /dev/dsk/c2t0d0 00175 current
00016 /dev/dsk/c2t0d0 00176 current
......................................
00063 /dev/dsk/c2t0d0 00223 current
00064 /dev/dsk/c2t0d0 00224 current
00065 /dev/dsk/c2t0d0 00225 current
00066 /dev/dsk/c2t0d0 00226 current
00067 /dev/dsk/c2t0d0 00227 current
00068 /dev/dsk/c2t0d0 00228 current
00069 /dev/dsk/c2t0d0 00229 current
Standard input
Standard input: END
# shutdown -ry 0
Processor is booting from first available device.
To discontinue, press any key within 10 seconds.
10 seconds expired.
Proceeding...
Trying Primary Boot Path
------------------------
Booting...
Boot IO Dependent Code (IODC) revision 1
HARD Booted.
ISL Revision A.00.43 Apr 12, 2000
ISL booting hpux
Boot
: disk(0/0/2/0.0.0.0.0.0.0;0)/stand/vmunix
10633216 + 2240512 + 1339632 start 0x1f19e8
alloc_pdc_pages: Relocating PDC from 0xf0f0000000 to 0x3fb00000.
gate64: sysvec_vaddr = 0xc0002000 for 2 pages
NOTICE: nfs3_link(): File system was registered at index 3.
NOTICE: autofs_link(): File system was registered at index 6.
NOTICE: cachefs_link(): File system was registered at index 7.
td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/1/2/0
System Console is on the Built-In Serial Interface
Entering cifs_init...
Initialization finished successfully... slot is 9
Logical volume 64, 0x3 configured as ROOT
Logical volume 64, 0x2 configured as SWAP
Logical volume 64, 0x2 configured as DUMP
Swap device table: (start & size given in 512-byte blocks)
entry 0 - major is 64, minor is 0x2; start = 0, size = 4194304
Starting the STREAMS daemons-phase 1
Checking root file system.
vxfs fsck: invalid device config entry found
super block file system size incorrect, run full fsck
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...
Root check done.
************* SYSTEM ALERT **************
SYSTEM NAME: heda
DATE: 12/11/2008 TIME: 03:43:14
ALERT LEVEL: 12 = Software failure
REASON FOR ALERT
SOURCE: 1 = processor
SOURCE DETAIL: 1 = processor general SOURCE ID: 0
PROBLEM DETAIL: 0 = no problem detail
LEDs: RUN ATTENTION FAULT REMOTE POWER
FLASH FLASH OFF ON ON
LED State: Running non-OS code. Non-critical error detected.
Check Chassis and Console Logs for error messages.
0xF8E000C01100B800 00000000 0000B800 - type 31 = legacy PA HEX chassis-code
0x58E008C01100B800 00006C0B 0B032B0E - type 11 = Timestamp 12/11/2008 03:43:14
A: ack read of this entry - X: Disable all future alert messages
Anything else skip redisplay the log entry
->Choice:Timeout!
*****************************************
************* SYSTEM ALERT **************
SYSTEM NAME: heda
DATE: 12/11/2008 TIME: 03:43:14
ALERT LEVEL: 12 = Software failure
REASON FOR ALERT
SOURCE: 1 = processor
SOURCE DETAIL: 1 = processor general SOURCE ID: 0
PROBLEM DETAIL: 0 = no problem detail
LEDs: RUN ATTENTION FAULT REMOTE POWER
ON FLASH FLASH ON ON
LED State: System Running. Unexpected Reboot. Non-critical Error Detected.
Check Chassis and Console Logs for error messages.
0xA0E000C01100B000 00000000 000005E9 - type 20 = major change in system state
0x58E008C01100B000 00006C0B 0B032B0E - type 11 = Timestamp 12/11/2008 03:43:14
A: ack read of this entry - X: Disable all future alert messages
Anything else skip redisplay the log entry
->Choice:Timeout!
*****************************************
I tried my best to repair the error,even used
system core media to recovery,but i still failed.
The machine is my test system,so the data is not important.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2008 01:05 AM
тАО12-11-2008 01:05 AM
Re: After increate lvol3 ,the system can't startup
in the Volumegroup vg00, the Volumes lvol1, lvol2 und lvol3 have to be contiguous.
I think you have to do a ignite-restore or a new installation.
frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2008 01:38 AM
тАО12-11-2008 01:38 AM
Re: After increate lvol3 ,the system can't startup
If you want to extend the lvol3 then 1st you have to remove/reduce lvol4 because lvol3 should be contiguous.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2008 02:10 AM
тАО12-11-2008 02:10 AM
Re: After increate lvol3 ,the system can't startup
You can not extend the root logical volume in HP-UX. That logical volume must be contiguous.
If you have an ignite make_tape_recovery or make_net_recovery, you must restore your system with this now.
During that process, you can intervene at the console and make the root logical volume/file system larger.
This will accomplish your goal and is the only supported methodology for expanding the root logical volume/file system.
Note however, that you really should not have actual files on the root file system. All files with the exception of device files and configuration files in /etc which should not be that big should be in mounted file systems.
IF you do not have an ignite backup you can try to recover your system off the OS media but most likely will have to reinstall the entire OS.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2008 09:56 AM
тАО12-13-2008 09:56 AM
Re: After increate lvol3 ,the system can't startup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2009 07:39 PM
тАО01-04-2009 07:39 PM
Re: After increate lvol3 ,the system can't startup
I have made a ignite backup ,and reinstall my
system,then increase lvol3.