- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swap area ...
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
Forums
Discussions
Discussions
Discussions
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
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-15-2005 09:43 AM
12-15-2005 09:43 AM
i need start an application, buy the procedure tells to me
i have to activate swap area on my server.
steps are:
1.- swapon -a :
Enabling device paging on /dev/vg01/swap1.
swapon: /dev/vg01/swap1: No such device or address
Enabling device paging on /dev/vg01/swap2.
swapon: /dev/vg01/swap2: No such device or address
Enabling device paging on /dev/vg01/swap3.
swapon: /dev/vg01/swap3: No such device or address
2.- vgchange -a y vg01
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk
/c0t5d0":
Device busy
vgchange: Warning: couldn't query physical volume "/dev/dsk/c0t5d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "vg01":
Quorum not present, or some physical volume(s) are missing.
i'd like to knwo, why do i have these errors?
I don't understand this situation !!! <:0(
Thanks, Manuales.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 10:12 AM
12-15-2005 10:12 AM
Solutiondo a diskinfo on /dev/dsk/c0t5d0, you should get information back pertaining to do this disk, you should also run an ioscan to make sure all your disks show up as Claimed, by doing
ioscan -funC disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 10:20 AM
12-15-2005 10:20 AM
Re: swap area ...
sa2:/dev->diskinfo /dev/rdsk/c0t5d0
SCSI describe of /dev/rdsk/c0t5d0:
vendor: SEAGATE
product id: ST19171W
type: direct access
size: 0 Kbytes
bytes per sector: 0
sa2:/dev->ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
disk 0 10/0.5.0 sdisk CLAIMED DEVICE SEAGATE ST19171W
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
disk 1 10/0.6.0 sdisk CLAIMED DEVICE Quantum XP34361WD
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
disk 2 10/12/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-5701TA
/dev/dsk/c4t2d0 /dev/rdsk/c4t2d0
System continues with errors:
sa2:/dev->vgchange -a y vg01
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c0t5d0":
Device busy
vgchange: Warning: couldn't query physical volume "/dev/dsk/c0t5d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "vg01":
Quorum not present, or some physical volume(s) are missing.
why are these errors ???
can i generate something else?
why couldn't activate volume group vg01??
Thanks, Manuales.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 10:28 AM
12-15-2005 10:28 AM
Re: swap area ...
do a strings on your lvmtab and attached the output, you can't activate your volume group because quorom is not presnt, which means you have some missing disks...
is c0t5d0 the only disk that belongs to this volume group? Do a pvdisplay on each disk that belongs to this volume, also try doing a dd if=/dev/dsk/c0t5d6 of=/dev/null bs=512 and let that run...does this run ok?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 10:29 AM
12-15-2005 10:29 AM
Re: swap area ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 10:41 AM
12-15-2005 10:41 AM
Re: swap area ...
thanks Deoncia for your help !!!! :=)
answer:
sa2:/etc->strings lvmtab
/dev/vg00
/dev/dsk/c0t6d0
/dev/vg01
/dev/dsk/c0t5d0
sa2:/dev/dsk->dd if=/dev/dsk/c0t5d0 of=/dev/null bs=512
/dev/dsk/c0t5d0: Device busy
dd: cannot open /dev/dsk/c0t5d0
is there any problem?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 10:54 AM
12-15-2005 10:54 AM
Re: swap area ...
do i must execute next?
vgchange -a e -q n /dev/vgpkgdb
Thanks, Manuales.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 10:54 AM
12-15-2005 10:54 AM
Re: swap area ...
do i must execute next?
vgchange -a e -q n /dev/vgpkgdb
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=965690
Thanks, Manuales.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 11:08 AM
12-15-2005 11:08 AM
Re: swap area ...
sa2:/dev->vgchange -a e -q n /dev/vg01
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c0t5d0":
Device busy
vgchange: Activation mode requested for the volume group "/dev/vg01" conflicts with configured mode.
vgchange: Warning: couldn't query physical volume "/dev/dsk/c0t5d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
for any error, i deleted syslog.log , do you think is good idea to reboot server to verify syslog.log? do you think could have been any problem to start server?
Thanks, Manuales.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 11:15 AM
12-15-2005 11:15 AM
Re: swap area ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 11:21 AM
12-15-2005 11:21 AM
Re: swap area ...
did you already this?
sa2:/dev->diskinfo /dev/rdsk/c0t5d0
SCSI describe of /dev/rdsk/c0t5d0:
vendor: SEAGATE
product id: ST19171W
type: direct access
size: 0 Kbytes
bytes per sector: 0
size 0 Kbytes !!!
why??
Thanks, Manuales.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 11:24 AM
12-15-2005 11:24 AM
Re: swap area ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 11:29 AM
12-15-2005 11:29 AM
Re: swap area ...
look at this:
if i use pvdisplay:
sa2:/dev/dsk->pvdisplay /dev/dsk/c0t5d0
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t5d0":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vg01".
pvdisplay: Cannot display physical volume "/dev/dsk/c0t5d0".
and with another:
sa2:/dev/dsk->pvdisplay /dev/dsk/c0t6d0 | more
--- Physical volumes ---
PV Name /dev/dsk/c0t6d0
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 8
PE Size (Mbytes) 4
Total PE 1023
Free PE 369
Allocated PE 654
Stale PE 0
IO Timeout (Seconds) default
what do you recommend to me ?
Thanks, Manuales.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 11:33 AM
12-15-2005 11:33 AM
Re: swap area ...
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 11:37 AM
12-15-2005 11:37 AM
Re: swap area ...
You have to get that disk replaced because it is no longer available to you for use. If this is not mirrored then I hope you have a good backup in order to restore any lost data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 11:43 AM
12-15-2005 11:43 AM
Re: swap area ...
Thanks ...
i'm attaching to you an image how sam shows to me information about all disk on my operating system.
Do you think this disk is bad ?
Thanks, Manuales.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 11:54 AM
12-15-2005 11:54 AM
Re: swap area ...
what are steps to configure swap area? this is to redirect to another disk
how do i do it?
in this moment was on :
vg01
sa2:/dev/vg01->ls -lrt
total 0
crw-r--r-- 1 root sys 64 0x010000 Apr 21 1999 group
brw-r----- 1 root sys 64 0x010001 Apr 21 1999 swap1
crw-r----- 1 root sys 64 0x010001 Apr 21 1999 rswap1
brw-r----- 1 root sys 64 0x010002 Apr 22 1999 swap2
crw-r----- 1 root sys 64 0x010002 Apr 22 1999 rswap2
brw-r----- 1 root sys 64 0x010003 Apr 27 1999 swap3
crw-r----- 1 root sys 64 0x010003 Apr 27 1999 rswap3
crw-r----- 1 root sys 64 0x010004 Jan 30 2000 rorahome
brw-r----- 1 root sys 64 0x010004 Jul 2 2003 orahome
and i wanted to make:
swapon -a ...> here i had problems with vg01 and c0t5d0 disk, how can i redirect to another disk?
thanks !! Manuales.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 12:14 PM
12-15-2005 12:14 PM
Re: swap area ...
You don't have another disk to use as swap, c0t5d0 is bad and must be replaced asap!! There is not another disk available to redirect this to, you used this disk for swap and once you have this one replace it can be reconfigured again. I'm sure if you do a swapinfo that you have a small space of swap configured in vg00. you do not want to redirect anything to vg00, so your best option is to get c0t5d0 replaced in order for you to reconfigure your swap. Also you will have to recreate your volume group vg01 and restore any information in regards to orahome back to the disk once it has been replaced.