Sponsored Content
Operating Systems AIX Need to replace a broken PV in a VIO VG used for client LPARs (and it won't release the old one) Post 303043872 by zxmaus on Sunday 9th of February 2020 08:00:44 PM
Old 02-09-2020
is it still mapped to the VMs ? If so unmap it - then try to remove it again.
This User Gave Thanks to zxmaus For This Post:
 

10 More Discussions You Might Find Interesting

1. AIX

Virtual Ethernet VIO HMC LPARs

Hi, I am little confused about the virtual Ethernet configuration on VIO and Client Partitions. There is alot of info on the internet but it gets more confusing.... If I have LHEA, it is very simple. Just assign LHEA (logical host ethernet adapter) to client partition -> run smitty tcpip and... (10 Replies)
Discussion started by: filosophizer
10 Replies

2. AIX

vio server and vio client

Hi, I want to know wheather partition size for installation of vio client can be specified on vio server example If I am installing vio server on blade with 2*300gb hard disk,after that I want to create 2 vio client (AIX Operating system) wheather I can specify hard disk size while... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

3. AIX

rebooting vio client

Hi, I would like to reboot vio client but I am not able to access vio client(I am not able to get putty) , I am able to get putty of vio server, is there any command by using which from vio server I can reboot vio client? (3 Replies)
Discussion started by: manoj.solaris
3 Replies

4. AIX

Finding cpu information on vio client

Hi, I am having single p series blade with Single Physcial CPU with dual core, on that vio server is installed, I have created vio client allocate 0.9 each cpu , now when I am running prtconf command on vio client it is showing "2" no of processor, My query using which command it will... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

5. AIX

Unable to connect VIO client

Hi I am facing very strange issue on my vio server 5 vio clients are confgured, now I am to connect 3 vio client , i am unable to connect 2 vio client my ip address,subnet mask,gateway is correct. i have rebooted and reconfigured the ip address, but issue is persists. Kindly suggest how to... (0 Replies)
Discussion started by: manoj.solaris
0 Replies

6. AIX

Inherited VIO server an LPARs

Lucky me, someone has installed a server and got it running with the best intentions, but leaving me a headache. :wall: We have a simple p520 with 4 disks. 2x145Gb & 2x300Gb. The smaller disk pair have been built into a VIO mirrored rootvg, and quite right too. The other two disks form a... (3 Replies)
Discussion started by: rbatte1
3 Replies

7. AIX

how will i know if a lun has been already mapped to a vio client

Hi im logged in to the vio servers now. when i give # lspv | wc -l i get the count as 6246 how will i know if a lun has been already mapped to a vio client or it is left free without mapping to any of the vio client ? (1 Reply)
Discussion started by: newtoaixos
1 Replies

8. AIX

vio server ethernet to vio client ethernet(concepts confusing)

Hi In the vio server when I do # lsattr -El hdisk*, I get a PVID. The same PVID is also seen when I put the lspv command on the vio client partition. This way Im able to confirm the lun using the PVID. Similarly how does the vio client partition gets the virtual ethernet scsi client adapter... (1 Reply)
Discussion started by: newtoaixos
1 Replies

9. AIX

cdrom confusion on the vio client lpar

Hi In my vio server I have the below output $ lsvopt | grep -i SAPSITGS sapsitgs_cdrom TL12UP.iso 3182 In my vio client lpar I have the below output root@sapsitgs:/ # lsdev -Cc cdromcd0 Available Virtual SCSI Optical Served by VIO Server cd1... (1 Reply)
Discussion started by: newtoaixos
1 Replies

10. AIX

Rebooting redundant VIOs and mirroring of PVs they serve to client LPARs

need to confirm: we have a system with two VIOs each serving a partition on a local disk to a client LPAR. That client LPAR has them both in a VG which is mirrored (exact). So each disk has a copy of the client LV that the client VG supports. This is the setup that was bequeathed to us by the... (3 Replies)
Discussion started by: maraixadm
3 Replies
ost::MappedFile(3)					     Library Functions Manual						ost::MappedFile(3)

NAME
ost::MappedFile - Create and map a disk file into memory. SYNOPSIS
#include <file.h> Inherits ost::RandomFile. Public Member Functions MappedFile (const char *fname, Access mode) Open a file for mapping. MappedFile (const char *fname, Access mode, size_t size) Create if not exists, and map a file of specified size into memory. MappedFile (const char *fname, pos_t offset, size_t size, Access mode) Map a portion or all of a specified file in the specified shared memory access mode. virtual ~MappedFile () Release a mapped section of memory associated with a file. void sync (void) Synchronize the contents of the mapped portion of memory with the disk file and wait for completion. void sync (caddr_t address, size_t len) Synchronize a segment of memory mapped from a segment fetch. void update (size_t offset=0, size_t len=0) Map a portion of the memory mapped from the file back to the file and do not wait for completion. void update (caddr_t address, size_t len) Update a mapped region back to disk as specified by address and length. void release (caddr_t address, size_t len) Release (unmap) a memory segment. caddr_t fetch (size_t offset=0) Fetch a pointer to an offset within the memory mapped portion of the disk file. caddr_t fetch (off_t pos, size_t len) Fetch and map a portion of a disk file to a logical memory block. bool lock (void) Lock the currently mapped portion of a file. void unlock (void) Unlock a locked mapped portion of a file. size_t pageAligned (size_t size) Compute map size to aligned page boundry. Additional Inherited Members Detailed Description Create and map a disk file into memory. This portable class works under both Posix via mmap and under the win32 API. A mapped file can be referenced directly by it's memory segment. One can map and unmap portions of a file on demand, and update changed memory pages mapped from files immediately through sync(). Author: David Sugar dyfet@ostel.com Map a named disk file into memory. Constructor &; Destructor Documentation ost::MappedFile::MappedFile (const char *fname, Accessmode) Open a file for mapping. More than one segment of a file may be mapped into separate regions of memory. Parameters: fname file name to access for mapping. mode access mode to map file. ost::MappedFile::MappedFile (const char *fname, Accessmode, size_tsize) Create if not exists, and map a file of specified size into memory. Parameters: fname file name to access for mapping. mode access mode to map file. size of file to map. ost::MappedFile::MappedFile (const char *fname, pos_toffset, size_tsize, Accessmode) Map a portion or all of a specified file in the specified shared memory access mode. Valid mapping modes include mappedRead, mappedWrite, and mappedReadWrite. Parameters: fname pathname of file to map into memory. offset from start of file to begin mapping in bytes. size of mapped area in bytes. mode to map file. virtual ost::MappedFile::~MappedFile () [virtual] Release a mapped section of memory associated with a file. The mapped area is updated back to disk. Member Function Documentation caddr_t ost::MappedFile::fetch (size_toffset = 0) [inline] Fetch a pointer to an offset within the memory mapped portion of the disk file. This really is used for convience of matching operations between Update and Fetch, as one could simply have accessed the base pointer where the file was mapped directly. Parameters: offset from start of mapped memory. caddr_t ost::MappedFile::fetch (off_tpos, size_tlen) Fetch and map a portion of a disk file to a logical memory block. Returns: pointer to memory segment. Parameters: pos offset of file segment to map. len size of memory segment to map. bool ost::MappedFile::lock (void) Lock the currently mapped portion of a file. Returns: true if pages are locked. size_t ost::MappedFile::pageAligned (size_tsize) Compute map size to aligned page boundry. Parameters: size request. Returns: page aligned size. void ost::MappedFile::release (caddr_taddress, size_tlen) Release (unmap) a memory segment. Parameters: address address of memory segment to release. len length of memory segment to release. void ost::MappedFile::sync (void) Synchronize the contents of the mapped portion of memory with the disk file and wait for completion. This assures the memory mapped from the file is written back. void ost::MappedFile::sync (caddr_taddress, size_tlen) Synchronize a segment of memory mapped from a segment fetch. Parameters: address memory address to update. len size of segment. void ost::MappedFile::unlock (void) Unlock a locked mapped portion of a file. void ost::MappedFile::update (size_toffset = 0, size_tlen = 0) Map a portion of the memory mapped from the file back to the file and do not wait for completion. This is useful when mapping a database file and updating a single record. Parameters: offset offset into the mapped region of memory. len length of partial region (example, record length). void ost::MappedFile::update (caddr_taddress, size_tlen) Update a mapped region back to disk as specified by address and length. Parameters: address address of segment. len length of segment. Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::MappedFile(3)
All times are GMT -4. The time now is 01:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy