# lspv
# chdev -l hdisk2 -a pv=clear
# chdev -l hdisk2 -a pv=yes
# lspv
If you see the status change it's an indication that you can at least access the disk correctly. This might go back to the IBM write and verify problem.
I think that you have an exclusive lock, either held by an other LPAR or VIO - you may want to check with the SAN team that the Zoneing is correct and it hasn't been zoned to an other server/vio.
Yes, you are right, it was coming from SAN to VIO Server and from VIO server to LPAR
Now the SAN Connection has been removed from the PSeries Machine
and I tried to remove the DISK from VIO Server but couldn't
Code:
# lspv
hdisk0 00c7780e79838606 rootvg active
hdisk8 00c7780e8945b5bb patchtest active
hdisk9 00c7780e8945b5bb patchtest active
# lsdev -Cc disk
hdisk0 Available 09-08-00-3,0 16 Bit LVD SCSI Disk Drive
hdisk8 Available 0A-09-02 MPIO Other DS4K Array Disk
hdisk9 Available 0A-09-02 MPIO Other DS4K Array Disk
# varyoffvg patchtest
0516-062 lqueryvg: Unable to read or write logical volume manager
record. PV may be permanently corrupted. Run diagnostics
0516-012 lvaryoffvg: Logical volume must be closed. If the logical
volume contains a filesystem, the umount command will close
the LV device.
0516-942 varyoffvg: Unable to vary off volume group patchtest.
How can I remove the volume group and the disks ? thanks
I am confused as to how the disk is coming to client?
Have you created a VG on VIOS, created LV and giving those LV's as vscsi disks to client? or you have mapped the whole disk to client?
If your answer is latter then you cannot create a VG on VIOS.
Can you provide the below info
Code:
On VIOS (as padmin)
lsdev -slots
lsmap -vadapter vscsiX -all X=client ID
lspv -free
Now as root
lsvg -l patchtest
lsvg -p patchtest
The Disk were created on SAN then it were mapped to VIO Server
From VIO server it was mapped to the LPAR
The disk in question on VIO Server is hdisk8 and hdisk9 with the volume group called patchtest. I was able to remove hdisk8 with rmdev -dl command.
but I could not remove hdisk9
Hi everybody,
I have Power5 server with 4 internal hdisks each of 70Gb.
VIOS server was installed via Virtual I/O Server Image Repository on the HMC.
HMC release - 7.7.0
VIOS rootvg installed on 2 disk(these disks merged to one storage pool during VIOS install process),and 2 others hdisks... (2 Replies)
Hello,
VIOS 2.2.1.4 using IVM.
I'm trying to extend a virtual disk assigned to a running lpar so that I can expand the lpar's datavg and grow some filesystems for the user.
Storage admin expanded the lun and new size was reflected in VIO right away. I then needed the storage pool to... (2 Replies)
Update:
The / file system (/dev/rdsk/c1t0d0s0) is being checked
fsck unable to stat
WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c1t0d0s0).
Root password for system maintenance (control-d to bypass):
I am unable to hit control-d to by pass.
I... (50 Replies)
is there any way to create shared virtual disk between two LPARs like how you can do it using Storage through Fiber on two servers ?
Trying to stimulate HACMP between two LPARs (1 Reply)
Hello,
Lets say for simplicity that I do not use any vlan config inside my server - one lpar group use hea physical port1, another group hea physical port2. Physical port1 configured as vlan1 on external switch, physical port2 as vlan2.
What is the common practice - should I isolate my vios... (0 Replies)
I am running Ubuntu Server, I recently added a new hard drive to the machine
When I run fdisk -l I see both drives.
The recently added drive is present but it's listed as extended.
when I try to mount the drive it says you must specify the file system type.
I can't mount this drive, I was... (2 Replies)
Hi Gurus,
I have to back the /var to other disk, however I am unable to do so. What I did is
Created a partition on another disk, placed file system on the slice and mounted on /mnt .
Issued following command
#ufsdump 0cfu /mnt /var
And I am getting... (2 Replies)
Hello guys,
It would be so nice of you if someone can provide me with these informations.
1) My SAN group assigned 51G of LUN space to the VIO server.I ran cfgdev to discover the newly added LUN. Unfortunately most of the disks that are in VIO server is 51G. How would I know which is the newly... (3 Replies)
Hi all,
My disk space is 100% full.
df -k <dir> -> 100%
One of my debug files consume huge amount of space and i want to remove the same to start off fresh debugs.
However i'm unable to remove the file giving out the following error message:
rm -f debug.out22621
rm: cannot remove... (8 Replies)