03-09-2012
Question rephrase: Given the above, if i setup a new rhel6 server, set the LUN ACL as RO from the SAN Server. Can I map the existing lun (RO ACL from the SAN) into the server, if so how?
Using iscsi initiator on the rhel6 backup server, I can see the luns, vgscan shows the vg's for the lun's, lvscan same. But I cannot activate the VG or LV. In /dev/ their isnt a corrosponding directory for the vg (and sub symbolic link), their arent any entries for the volumes in /dev/mapper.
When I did the work around when i activated the vg, it created the folder in /dev/ and then when i activated the lvm, it created the symbolic link in the /dev/vg-lun and in /dev/mapper.
Im trying to following good practices, im worried that my hacked method may lead to data corruption on my production luns.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
OS:sol8
ok 2 things are very important. I will give examples of the logs and the client file for testing.
Object: to display on the web sometime to parse your custom logs basied on the inputed date and client selected.
I know alot of ppl are like who care. but i saw a perl script on here... (1 Reply)
Discussion started by: Optimus_P
1 Replies
2. Filesystems, Disks and Memory
Am trying to differentiate between the local disks and LUN's presented from SAN onto the server. Have Tried fdisk -l, however I quite cudn't differentiate the local disks from SAN presented LUN's.
Can you pls. let me know the procedure and commands to find this.
OS - RHEL 4
SAN - EMC... (3 Replies)
Discussion started by: Crazy_murli
3 Replies
3. Shell Programming and Scripting
Hi i am trying to write a perl program where i have to open a
1)directory "unit"
2) rename the files in the dir say file1.txt;file2.txt...file5.txt
to file1_a.txt;file2_a.txt,....file5_a.txt ;file1_x.txt ;file2_x.txt
3) open these renamed files and replace the words
lets say file1_a.txt... (7 Replies)
Discussion started by: madhul2002
7 Replies
4. Red Hat
Greetings,
I have an rsync server that is unable to change the timestamp on any directories inside of cifs mounts. The same thing happens on all of my red hat machines. These machines are all patched, touch -t works on directories inside any other filesystem including NFS mounts.
This is... (0 Replies)
Discussion started by: Create
0 Replies
5. AIX
Hello Everyone,
Can someone help me to mount a SAN hdisk which contains a clone data copy(san) of the remote server to the another machine. Both servers are running in AIX.
Thanks in advance !
Regards,
Gowtham.G (3 Replies)
Discussion started by: gowthamakanthan
3 Replies
6. Solaris
Hi Guys,
I have EMC Storage and from this storage I have maped lun5 to Sun Solaris server and I have created on this lun mount point with name /application
I have anothere Sun Solaris server and I'll colne lun5 to lun10 from storage level so the data of lun5 will be in lun10
how to... (6 Replies)
Discussion started by: Mr.AIX
6 Replies
7. Red Hat
Hi All,
I am new for this blog and this is my first Query on this blog. I would like to dael with graet masters on linux.
Here we go,
After storage people created the LUN, How to add that LUN to Linux server. (Make that LUN visibility on linux server.) ?
How to view the LUN... (5 Replies)
Discussion started by: abhay1983
5 Replies
8. Solaris
i had bunch of luns from storedge 3310 mounted on a T2000 and being used. Then i added a second T2000 to the storage array but
now i cant mount them on either nodes , i do see them in format though.
these luns have data on them and they were mounted on one so how do i mount them read/write on... (5 Replies)
Discussion started by: aliyesami
5 Replies
9. Shell Programming and Scripting
Hi Gurus,
I am newbie for autosys scheduler. I am wondering is there a command to list all job boxes or list all autosys jobs?
Thanks in advance. (0 Replies)
Discussion started by: ken6503
0 Replies
10. Linux
Hi
I am not familiar with the linux, but I was asked to create a file system on a LUN from the NetApp that was mapped to the linux server.
The server is runing:
uname -a
Linux localhost.localdomain 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
and now... (6 Replies)
Discussion started by: fretagi
6 Replies
LEARN ABOUT PHP
switch_root
SWITCH_ROOT(8) System Administration SWITCH_ROOT(8)
NAME
switch_root - switch to another filesystem as the root of the mount tree
SYNOPSIS
switch_root [-hV]
switch_root newroot init [arg...]
DESCRIPTION
switch_root moves already mounted /proc, /dev, /sys and /run to newroot and makes newroot the new root filesystem and starts init process.
WARNING: switch_root removes recursively all files and directories on the current root filesystem.
OPTIONS
-h, --help
Display help text and exit.
-V, --version
Display version information and exit.
RETURN VALUE
switch_root returns 0 on success and 1 on failure.
NOTES
switch_root will fail to function if newroot is not the root of a mount. If you want to switch root into a directory that does not meet
this requirement then you can first use a bind-mounting trick to turn any directory into a mount point:
mount --bind $DIR $DIR
SEE ALSO
chroot(2), init(8), mkinitrd(8), mount(8)
AUTHORS
Peter Jones <pjones@redhat.com>
Jeremy Katz <katzj@redhat.com>
Karel Zak <kzak@redhat.com>
AVAILABILITY
The switch_root command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/.
util-linux June 2009 SWITCH_ROOT(8)