01-27-2013
How to remove the LUN in RHEL?
Hi,
How to remove the allocate SAN Lun on the Linux Server. I am using rhel 5.8. I have assigned a LUN to the existing Volume group.
For eg: I have allocated a LUN with 20GB to the existing volume group(test123). Now, how can I take back the allocated lun without any issues.
10 More Discussions You Might Find Interesting
1. Red Hat
Friends ,
I cannot upgrade or add any package in RHEL 5 using 'package manager' GUI tools . When I run the 'package manager' tool then in BROWSE tab , it shows nothing . I try it inserting the RHEL5 DVD in the DVD-Rom . But the condition is the same .
Would anybody plz tell me , How can I... (4 Replies)
Discussion started by: shipon_97
4 Replies
2. Solaris
I have a list of LUN ID, my task is to find if disk has been added or not. How do I do that? I have been searching the forum and not able to find answer.
thanks (4 Replies)
Discussion started by: uuontario
4 Replies
3. Solaris
I am not seeing anyway to remove a LUN from a Zpool...
Am I missing something? or do i have to destroy the zpool and recreate it? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
4. Red Hat
Hi,
I heard a command that can collect all RHEL 5 log in a single compress file before I forget.
Does any body know...What the command is ?
Thanks. (4 Replies)
Discussion started by: nnnnnnine
4 Replies
5. Red Hat
Hi, I can't delete an NIS user. Does it sound too simple for you? :( Here is the result:
nis_server# ypcat passwd | grep heisgone
heisgone:xxxxxx:1000:200:He is gone:/home/heisgone:/usr/bin/ksh
nis_server# userdel heisgone
userdel: error deleting password entry
userdel: error deleting... (1 Reply)
Discussion started by: aixlover
1 Replies
6. Red Hat
Hi all,
Im studying rhcsa as of now, so yum installation and dependencies are messing me to not workit out.
i have dual os, win 7 & rhel 6.
i have tried this installation of vsftpd package with rhel 6 dvd in VM rhel 6 in win 7 as well as host rhel 6.still the same issue.
below error... (6 Replies)
Discussion started by: redhatlbug
6 Replies
7. Red Hat
Hi all,
I have a 2 node rhel 5.5 cluster (2 server and 1 quorum disk).
I created 2 cluster resources using Luci web console, they are 2 Volume Groups.
I want to remove that cluster and shutdown node 2, but I don't want to loose data on Volume Groups clustered.
How can I remove that... (0 Replies)
Discussion started by: peppeunz
0 Replies
8. Solaris
So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following:
devfsadm -Cv
powermt -q
luxadm -e offline <drive path>
luxadm probe
All those commands failed to remove the path. The drive stills shows up as <drive... (13 Replies)
Discussion started by: DustinT
13 Replies
9. UNIX Desktop Questions & Answers
I would like to write a script that would remove and/or create shortcuts in Gnome desktop in RHEL 6.3...
I googled all over the place could never find what I needed...
Any help would be greatly appreciated!
Thank you! (0 Replies)
Discussion started by: ruberked
0 Replies
10. Solaris
Hi all, I have a LUN that is in "Online Busy" when I issue the dev_gestate subcommand of luxadm:
root@es088wb6:~# luxadm -v -e dev_getstate /dev/rdsk/c21t50050763090887FEd4s2
phys path = "/devices/pci@6c0/pci@1/pci@0/pci@4/SUNW,qlc@0/fp@0,0/ssd@w50050763090887fe,4:c,raw"
... (5 Replies)
Discussion started by: ludiegu
5 Replies
LEARN ABOUT CENTOS
vgrename
VGRENAME(8) System Manager's Manual VGRENAME(8)
NAME
vgrename - rename a volume group
SYNOPSIS
vgrename [-A|--autobackup {y|n}] [-d|--debug] [-h|-?|--help] [-t|--test] [-v|--verbose] OldVolumeGroup{Path|Name|UUID} NewVol-
umeGroup{Path|Name}
DESCRIPTION
vgrename renames an existing (see vgcreate(8)) volume group from OldVolumeGroup{Name|Path|UUID} to NewVolumeGroup{Name|Path}.
All the Volume Groups visible to a system need to have different names. Otherwise many LVM2 commands will refuse to run or give warning
messages.
This situation could arise when disks are moved between machines. If a disk is connected and it contains a Volume Group with the same name
as the Volume Group containing your root filesystem the machine might not even boot correctly. However, the two Volume Groups should have
different UUIDs (unless the disk was cloned) so you can rename one of the conflicting Volume Groups with vgrename.
OPTIONS
See lvm(8) for common options.
Examples
Renames existing volume group vg02 to my_volume_group:
vgrename /dev/vg02 /dev/my_volume_group
or
vgrename vg02 my_volume_group
Changes the name of the Volume Group with UUID
Zvlifi-Ep3t-e0Ng-U42h-o0ye-KHu1-nl7Ns4 to VolGroup00_tmp:
vgrename Zvlifi-Ep3t-e0Ng-U42h-o0ye-KHu1-nl7Ns4 VolGroup00_tmp
SEE ALSO
lvm(8), vgchange(8), vgcreate(8), lvrename(8)
Sistina Software UK LVM TOOLS 2.02.105(2)-RHEL7 (2014-03-26) VGRENAME(8)