Sponsored Content
Top Forums UNIX for Advanced & Expert Users Question about Grub2 and Multipathing Post 303024519 by Peasant on Wednesday 10th of October 2018 10:25:10 AM
Old 10-10-2018
I have no experience with boot from SAN on metal, to put a small disclaimer upfront.

Not related to the problem...what would really help you is to have a separated installed operating system on both environments (DCs), with data part replicated in separate volume groups.
That way, only thing you do is import the volume group and (possibly or not depends) an ip assignment, depending on the topology and services such as vrrp or higher layer used.

I never endorsed SAN boot on metal personally (but in vms of course), always had couple of local disks to mirror ...

Point being, i would go with service separation and clean install on each of the sites, while cloning data part via storage methods.

Hopefully someone else who used linux SAN boot will be of more assistance with the actual problem.

Regards
Peasant.
This User Gave Thanks to Peasant For This Post:
 

10 More Discussions You Might Find Interesting

1. Solaris

solaris multipathing

I have solaris 10 sparc. I installed a Qlogic hba card. This card is connected on a brocade switch and the brocade is connected on 2 different controllers on a Hitachi disk bay. I formated 2 luns. On my solaris system, i have 4 disk. How to configure solaris 10 to fix the dual disk view. ... (4 Replies)
Discussion started by: simquest
4 Replies

2. Solaris

Solaris IP Multipathing

Hi, I saw your post on the forums about how to setup IP multipathing. I wanted your help on the below situation . I have 2 servers A and B . Now they should be connected to 2 network switches . S1 and S2. Now is it possible to have IP Multipathing on each of the servers as follows ? ... (0 Replies)
Discussion started by: maadhuu
0 Replies

3. Solaris

Solaris multipathing

Hai we using emc storage which is conneted to M5000 through san switch. we asign 13 luns but in server it is showing 22 luns. i enable the solaris multipathing (MPxIO) #more /kernel/drv/fp.conf in that file MPxio-disable=no #mpathadm list lu it shows ... (2 Replies)
Discussion started by: joshmani
2 Replies

4. Solaris

Multipathing - problem

Hello, I turned on the server multipathing: # uname -a SunOS caiman 5.10 Generic_141444-09 sun4v sparc SUNW,T5140 stmsboot -D fp -e And after a reboot the server, multipathing is not enable: # stmsboot -L stmsboot: MPxIO is not enabled stmsboot: MPxIO disabled # ls /dev/dsk... (4 Replies)
Discussion started by: bieszczaders
4 Replies

5. UNIX for Dummies Questions & Answers

Can't get puppy to work with grub2

Hello, I'm trying to put puppy linux 4.2.1 (I can't use the latest because it won't boot on my hardware) on a grub2'd usb drive. It throws the error that it can't find pup_421.sfs Here is my /boot/grub/grub.cfg menuentry "Puppy 4.2.1" { loopback loop... (2 Replies)
Discussion started by: Narnie
2 Replies

6. Debian

Grub2 (dual boot, dmraid) cannot run Debian6

Hello, firstly excuse for my poor english. I have a busybox error when I try to run Debian 6. It's like Grub cannot find root (initramfs) My system is: - RAID0 with dmraid - /boot ext2 (from moonOS installation --ubuntu based--) - ext4 (moonOS wich have the Grub2 installation, where I... (0 Replies)
Discussion started by: neutralTTY
0 Replies

7. Linux

grub2 startup freeze

I got a dual boot with grub2, but everytime I turn on the computer and the booter is loaded, I can't handle the menu, so I am forced to wait the countdown and choose the default option. I'd really like to know why! This is my grub.cfg, # # DO NOT EDIT THIS FILE # # It is automatically... (0 Replies)
Discussion started by: Luke Bonham
0 Replies

8. Red Hat

GRUB2 + UEFI issue, new entry each boot

Hello This is happening on: 3.13.7-200.fc20.x86_64 This happened already some weeks ago, until now i didn install linunx onto this machine, as i had to turn in the laptop to the service center so they could fix the UEFI flash storage. Either way, its happening again. as i installed Fedora 20... (1 Reply)
Discussion started by: sea
1 Replies

9. Red Hat

Verify multipathing

I have a couple of questions regarding multipath. If I do vgdisplay vg01, I see it is using 1 PV: /dev/dm-13 If I type multipath -ll I see dm-9, dm-10, dm-11, dm-12, but do not see dm-13. Is my vg01 multipathed? How can I actually know for sure? Secondly, let's say this time vg01 says... (1 Reply)
Discussion started by: keelba
1 Replies

10. UNIX for Beginners Questions & Answers

Unable to edit grub2 boot screen in centos 7

I have centos 7 gui installed on vmware workstation12 on my laptop.WhenI want to pause my splash screen while starting my centos 7 using the 'esc key' nothing happens and the system just boots up.I also see a entry for aci_memory_fail... entry during the boot process.help me fix the system. (1 Reply)
Discussion started by: sabsac
1 Replies
vgscan(1M)																vgscan(1M)

NAME
vgscan - scan physical volumes for LVM volume groups SYNOPSIS
| | | vg_names...] Remarks If the volume group input arguments belong to a combination of volume groups version 1.0 and 2.0 or higher, the arguments may not be pro- cessed in the order they are listed on the command line. DESCRIPTION
The command is used as follows: 1. Recovering and recreating the or file when the file has been deleted or does not match the current physical volumes. 2. Reporting device special file lists for unconfigured volume groups. For recovery, will add entries for volume groups that are missing from or The command recovers volume group information by using LVM data structures in kernel memory, and by probing all devices, searching for LVM disks. If one or more physical volumes in the volume group has more than 8 paths, the command will only include 8 paths per physical volume. Additional path(s) will not be added in the or file. The volume group device special file must be present for recovery to succeed. In addition, will recover a missing volume group only if it has been activated at least once since the last boot or the last import, and the Volume Group ID is unique (see the section). Unconfigured volume groups are volume groups residing on attached storage that are missing from or and have not been activated since the last boot. The command cannot recover the or entries for these volume groups. Instead, it will print out the physical volume device spe- cial files for these volume groups. Configure these volume groups using the command. See vgimport(1M). The command will not update existing volume group entries in or unless the option is used. The option can be used to overwrite existing volume group entries in or Otherwise, or should be moved before running in order for the options to take full effect. In HP-UX 11i Version 3, the Mass Storage Stack supports two naming conventions for the device special files used to identify devices (see intro(7) and lvm(7)). Devices are represented as follows: o Persistent device special files, o Legacy device special files, LVM supports the use of both conventions within the same volume group. The command provides several options for controlling the use of legacy and persistent DSFs (device special files) during the or recovery. By default, will populate or with legacy DSFs, including alternate paths. There is one exception: For activated volume groups that are using persistent DSFs, will populate or using persistent DSFs for those physical volumes. The and options allow the user to override this default behavior. Options and Arguments recognizes the following options and arguments: Scan all paths of multipathed physical volumes. The option cannot be used in conjunction with the and options and when the legacy naming model is disabled with the com- mand (see rmsf(1M)). Populate or using both persistent and legacy DSFs. Persistent DSFs will be added before legacy DSFs, so they will be used as the primary path. This option can be used to migrate a deactivated volume group using legacy DSFs to use both per- sistent and legacy DSFs. The option cannot be used in conjunction with the and options and when the legacy naming model is disabled with the command (see rmsf(1M)). For the specified volume groups, force to replace any existing entries in or with updated entries. If the volume groups are missing from or they are added. The option provides the following functions:(1) Update incorrect, existing entries for activated volume groups. For example, a volume group may have been imported with only a partial set of devices. Or, a boot volume group may have been activated with persistent DSFs, while the existing entry in or has legacy DSFs.(2) Migrate a deactivated volume group using legacy DSFs to use persistent DSFs, or vice-versa.(3) Add volume group entries to the or file in the order specified on the command line. For example, this option can be used to put the boot volume group first in the or file. With the option, will not search for additional volume groups and will not report unconfigured volume groups. Skip the disk probe portion of and retrieve volume group information only from LVM data structures in kernel memory. The disk probe portion can be a time consuming operation, so this option can be used for faster recovery of or However, with this option, only vol- ume groups currently activated are added to or For deactivated volume groups, no information is added to or The option cannot be used in conjunction with the and options. Populate or using persistent DSFs, with the following exception: If there are volume groups activated that are using legacy DSFs, then will populate or using legacy DSFs for those physical volumes. The option cannot be used in conjunction with the and options. Preview the actions that would be taken but do not update or This option is best used in conjunction with the option. As with other options, if the legacy naming model has been disabled with the command (see rmsf(1M)), the option should also be used with the option. Print verbose messages. EXTERNAL INFLUENCES
Environment Variables determines the language in which messages are displayed. If is not specified or is null, it defaults to "C" (see lang(5)). If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)). EXAMPLES
1. Append entries for volume groups missing from the or file. For deactivated volume groups, use legacy DSFs, and for activated volume groups, use the DSFs that were used to activate them. Report all physical volume legacy DSFs belonging to unconfigured volume groups. Do not modify existing volume group entries in or Run without any options: 2. Recreate the or file for volume groups activated since the last boot. For deactivated volume groups, use legacy DSFs, and for activated volume groups, use the DSFs that were used to activate them. Report all physical volume legacy DSFs belonging to unconfigured volume groups. or 3. Recreate the or file for volume groups activated since the last boot. For deactivated volume groups, use persistent DSFs, and for acti- vated volume groups, use the DSFs that were used to activate them. Report all physical volume persistent DSFs belonging to unconfigured volume groups. or 4. Recreate the or file for volume groups activated since the last boot. For activated and deactivated volume groups, use both persistent and legacy DSFs. Report all physical volume persistent and legacy DSFs belonging to unconfigured volume groups. or 5. Recreate the or file for activated volume groups, using the DSFs that were used to activate them. For deactivated volume groups, no entries are added to or and no physical volume DSFs are reported. or 6. For the volume group overwrite the existing physical volume DSFs in or with the physical volume persistent DSFs found belonging to dur- ing a hardware probing of all devices. 7. For the volume group overwrite the existing physical volume DSFs in or with the physical volume DSFs used in kernel memory. The volume group must be activated, or this command will fail. 8. Recreate the or file with the volume groups and The volume group entries will be added to or in that order. For deactivated volume groups, use legacy DSFs, and for activated volume groups, use the DSFs that were used to activate them. Do not add any other volume groups. or To preview the output for any of the above examples, include the and options in the command lines. WARNINGS
The option may become obsolete in future releases. The option may become obsolete in future releases. For deactivated volume groups, cannot recover volume groups that do not have a unique Volume Group ID, that is, when two or more volume groups share the same ID. If this scenario occurs, the command must be used to assign a unique Volume Group ID for each volume group. See vgchgid(1M). After running the number and order of physical volumes in the reconstructed or file could be different than what was configured previously (even if the option is used). The results could be as follows: The designated primary and alternate paths may not be the same as was configured before. Alternate paths will be added to the or file even though they weren't initially configured in the volume group. The boot information may be incorrect, due to changed order of device special files in the new or file. Rectify the above problems as follows: Run to activate all deactivated volume groups. For shared volume groups, invoke to activate the shared volume group in exclusive mode. Invoke to remove any unwanted alternate paths which were added to the or file as a result of the invocation. For boot volume groups only, invoke to correct the boot information on the physical volumes. If the original primary path of a physical volume is now configured as an alternate, the order can be reversed by using to remove the primary path and then invoking to add it back. The command will also print the following warning messages to notify the user of the above problems: No more than 8 paths to any Physical Volume will be added to the or file. All other paths will be omitted. SEE ALSO
lvlnboot(1M), vgchange(1M), vgcreate(1M), vgextend(1M), vgexport(1M), vgimport(1M), vgreduce(1M), intro(7), lvm(7). vgscan(1M)
All times are GMT -4. The time now is 09:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy