Sponsored Content
Full Discussion: how to export a volume group
Top Forums UNIX for Dummies Questions & Answers how to export a volume group Post 302160712 by docaia on Tuesday 22nd of January 2008 02:19:44 PM
Old 01-22-2008
how to export a volume group

what are the steps necessary to export a Volume group when its file systems are mounted. how to restore the system to normal.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to increase PV's in a Volume group ?

I have a Volume group on one of my production box. The no of PV's within the same is 16 which I need to increase. How can this be done ? Can this be done online or do we need a downtime for this ? Please provide the exact details and steps for this activity urgently, as need to do this on my... (3 Replies)
Discussion started by: kpatel786
3 Replies

2. UNIX for Advanced & Expert Users

LVM - Extending Logical Volume within Volume Group

Hello, I have logical volume group of 50GB, in which I have 2 logical volumes, LogVol01 and LogVol02, both are of 10GB. If I extend LogVol01 further by 10GB, then it keeps the extended copy after logical volume 2. I want to know where it keeps this information Regards Himanshu (3 Replies)
Discussion started by: ghimanshu
3 Replies

3. AIX

Moving a Logical Volume from one Volume Group to Another

Does anyone have any simple methods for moving a current logical volume from one volume group to another? I do not wish to move the data from one physical volume to another. Basically, I want to "relink" the logical volume to exist in a different volume group. Any ideas? (2 Replies)
Discussion started by: krisw
2 Replies

4. AIX

Logical volume name conflict in two volume group

Hello, I am a french computer technician, and i speak English just a little. On Aix 5.3, I encounter a name conflict logical volume on two volume group. The first volume lvnode01 is OK in rootvg and mounted. It is also consistent in the ODM root # lsvg -l rootvg |grep lvnode01 ... (10 Replies)
Discussion started by: dantares
10 Replies

5. AIX

can not export volume group

hi admins, SUR0903:/tmp/MSA_tmp#exportvg vgiWWDWHA01 0516-772 exportvg: Unable to export volume group vgiWWDWHA01 do you have any idea how to fix it? (2 Replies)
Discussion started by: hmaiida
2 Replies

6. AIX

Adding a Volume Group to an HACMP Resource Group?

Hi, I have a 2 node Cluster. Which is working in active/passive mode (i.e Node#1 is running and when it goes down the Node#2 takes over) Now there's this requirement that we need a mount point say /test that should be available in active node #1 and when node #1 goes down and node#2 takes... (6 Replies)
Discussion started by: aixromeo
6 Replies

7. UNIX for Dummies Questions & Answers

Confusion Regarding Physical Volume,Volume Group,Logical Volume,Physical partition

Hi, I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies 1)Physical Volume 2)Volume Group 3)Logical Volume 4)Physical Partition Please help me to understand these concepts. (6 Replies)
Discussion started by: kashifsd17
6 Replies

8. UNIX for Dummies Questions & Answers

How to create a volume group, logical volume group and file system?

hi, I want to create a volume group of 200 GB and then create different file systems on that. please help me out. Its becomes confusing when the PP calculating PP. I don't understand this concept. (2 Replies)
Discussion started by: kamaldev
2 Replies

9. Red Hat

No space in volume group. How to create a file system using existing logical volume

Hello Guys, I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var. I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies

10. AIX

AIX volume group

I'm trying to change volume group of a disk, I'm setting up a PowerHa cluster and need to create a volume group named caavg_private and assigne it to hdisk3. what is the right methods (commands) of doing this? hdisk0 00f9a6dc66a06fcf None ... (1 Reply)
Discussion started by: spiderpig
1 Replies
eject(1)							   User Commands							  eject(1)

NAME
eject - eject media such as CD-ROM and floppy from drive SYNOPSIS
eject [-dfnpq] [device | nickname] DESCRIPTION
The eject utility is used for those removable media devices that do not have a manual eject button, or for those that do, but are managed by Volume Management (see vold(1M)). The device may be specified by its name or by a nickname; if Volume Management is running and no device is specified, the default device is used. Only devices that support eject under program control respond to this command. eject responds differently, depending on whether or not Vol- ume Management is running. With Volume Management When eject is used on media that can only be ejected manually, it will do everything except remove the media, including unmounting the file system if it is mounted. In this case, eject displays a message that the media can now be manually ejected. If a window system is running, the message is displayed as a pop-up window, unless the -p option is supplied. If no window system is running or the -p option is supplied, a message is displayed both to stderr and to the system console that the media can now be physically removed. Volume Management has the concept of a default device, which eject uses if no pathname or nickname is specified. Use the -d option to check what default device will be used. Without Volume Management When Volume Management is not running and a pathname is specified, eject sends the eject command to that pathname. If a nickname is sup- plied instead of a pathname, eject will recognize the following list: +-----------------------------+-----------------------------+ | Nickname | Path | |fd |/dev/rdiskette | |fd0 |/dev/rdiskette | |fd1 |/dev/rdiskette1 | |diskette |/dev/rdiskette | |diskette0 |/dev/rdiskette0 | |diskette1 |/dev/rdiskette1 | |rdiskette |/dev/rdiskette | |rdiskette0 |/dev/rdiskette0 | |rdiskette1 |/dev/rdiskette1 | |floppy |/dev/rdiskette | |floppy0 |/dev/rdiskette0 | |floppy1 |/dev/rdiskette1 | +-----------------------------+-----------------------------+ The list above can be reproduced with the -n option. Do not physically eject media from a device which contains mounted file systems. eject automatically searches for any mounted file systems which reside on the device and attempts to umount them prior to ejecting the media (see mount(1M)). If the unmount operation fails, eject prints a warning message and exits. The -f option may be used to specify an eject even if the device contains mounted partitions; this option works only if Volume Management is not running. eject can also display its default device and a list of nicknames. If you have inserted a floppy diskette, you must use volcheck(1) before ejecting the media to inform Volume Management of the floppy's presence. OPTIONS
The following options are supported: -d Displays the name of the default device to be ejected. -f Forces the device to eject even if it is busy, if Volume Management is not running. -n Displays the nickname to device name translation table. -p Does not try to call the eject_popup program. -q Queries to see if the media is present. OPERANDS
The following operands are supported: device Specifies which device to eject, by the name it appears in the directory /dev. nickname Specifies which device to eject, by its nickname as known to this command. EXAMPLES
Example 1: Ejecting a CD while Volume Management is running To eject a CD from its drive, while Volume Management is running (assuming only one CD-ROM drive): example> eject cdrom0 Example 2: Ejecting a CD-ROM without running Volume Management To eject a CD-ROM drive with pathname /dev/dsk/c0t3d0s2, without Volume Management running: example> eject /dev/dsk/c0t3d0s2 Example 3: Ejecting a floppy disk To eject a floppy disk (whether or not Volume Management is running): example> eject floppy0 EXIT STATUS
The following exit codes are returned: 0 The operation was successful or, with the -q option, the media is in the drive. 1 The operation was unsuccessful or, with the -q option, the media is not in the drive. 2 Invalid options were specified. 3 An ioctl() request failed. 4 Manually ejectable media is now okay to remove. FILES
/dev/diskette0 default diskette file /dev/sr0 default CD-ROM file (deprecated) /dev/dsk/c0t6d0s2 default CD-ROM file /usr/lib/vold/eject_popup popup used for manually ejected media ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
volcancel(1), volcheck(1), volmissing(1), mount(1M), rmmount(1M), vold(1M), ioctl(2), rmmount.conf(4), vold.conf(4), attributes(5), volfs(7FS) DIAGNOSTICS
A short help message is printed if an unknown option is specified. A diagnostic is printed if the device name cannot be opened or does not support eject. Device Busy An attempt was made to eject a device that has a mounted file system. A warning message is printed when doing a forced eject of a mounted device. BUGS
There should be a way to change the default on a per-user basis. If Volume Management is not running, it is possible to eject a volume that is currently mounted (see mount(1M)). For example, if you have a CD-ROM drive at /dev/dsk/c0t3d0s2 mounted on /mnt, the following command (without Volume Management running) will work: example> eject /dev/dsk/c0t3d0s0 since both slices s0 and s2 reference the whole CD-ROM drive. SunOS 5.10 20 Sep 1996 eject(1)
All times are GMT -4. The time now is 11:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy