Virtual Linux machine alignment

As we know, EMC Clariion SAN recommended alignment offset is 128 blocks (64K). We were lining up VMs Windows for a long time, but I just now who goes back and fixing of our older RHEL models must be perfectly aligned. I added a new disk and used gparted to copy the boot in sdb sbd1 = sda1 partition, by assigning DO NOT round in the nearest cylinder and leave 1 MB of previous free space (= 2048 offset, a multiple of 128/64). I then copied the other partitions, reinstalled grub, etc.. All boots & seems good. Common things. However, I notice that fdisk warns now "Partition 1 does not stop the cylinder limit." Is - it just the planned warning because it is not rounded on what he thinks are the cylinders and can therefore be ignored? Or am I missing a step necessary/logic in my approach? Thank you!

Fdisk of default reasons by the cylinder in its output.

If you align to 128, you are probably put an end to your partition in the middle of a cylinder. And the following will begin in the same cylinder, which gives the warning message (false).

If you run fdisk with switch-u (eg. fidsk-lu / dev/sda) you will get instead of the output based on sectors, and you will see that the first partition ends at xxx sector while the other starts to sector xxx + 1.

It is the most important.

I asked about the scores coming in another thread without some answers, but I'm sure it's the right approach to align also those.

My lines of kickstart, just to be perfect, as alignment guidelines are kind of these, inserted inside the % pre section:

(/ start of the 100 M, then a PV of disk space remaining; empty lines are actually return commands fdisk...)

  1. Clear the mbr

If DD \u003d/dev/zero of = / dev/sda bs = 512 count = 1 2 > > $LOGFILE

Fdisk/dev/sda < <-TXT > > $LOGFILE 2 > & 1

n

p

1

+ 100 M

x

b

1

128

r

n

p

2

t

1

8th

w

TXT-

SECSIZE = $(fdisk-lu/dev/sda | grep sda2 | awk '{print $2}' 2 >> $LOGFILE)

Export NEWSECSIZE = $(expr \ ($SECSIZE/128 + 1 \)------* 128 2 > > $LOGFILE)

Fdisk/dev/sda < <-TXT > > $LOGFILE 2 > & 1

x

b

2

$NEWSECSIZE

r

w

TXT-

Then, inside the section on partitioning, I

part/boot - fstype ext3 - onpart = sda1

part pv.01 - onpart = sda2

volgroup VolGroup01 pv.01

ECC to define logical volumes.

Bye,.

Gianluca

Tags: VMware

Similar Questions

  • Virtual Linux machine shrinkage

    Morning guys, Happy New year!

    I have one machine virtual linux with vmware tools installed but I can't reduce the disk.  I tried to make the list of disk/usr/bin/vmware-toolbox-cmd and the cottage without mount points.  Then I also try to make a shrink disc / and I get unsupported mount point.

    Any ideas?

    In Linux VM I usually cut my virtual hard drives manually.  First of all, I'm about to shrink by zeroing on the free space on the guest operating systems files system and then the host use vmware-vdiskmanager to preform the shrink.  We consider that the VM has no snapshots.

    In the Linux guest operating system in a Terminal:

    cat /dev/zero > wipefile.tmp; sync; rm -f wipefile.tmp
    

    I used to do the command above as root or as applicable to precede with sudo.

    In addition, if the disk has several partitions, I for each partition.

    On the host in a Terminal, I then use vmware-vdiskmanager with the following syntax:

    vmware-vdiskmanager -k myDisk.vmdk
    

    Note that the free space on the disk was first handed to zero one can then use the VMware Fusion GUI Clean Up vs basic disk using vmware-vdiskmanager however I prefer to use the command line.

  • BKP virtual Linux machine

    Hello

    I need help,

    I can't hold a bkp machine virtual linux, using files, FullVM and VCB?

    Virtual machine with windows I can perform successfully.

    Is there a document I can verify my problem?

    Thank you

    If you consider any useful comment please assign points

    ---

    VMware vExpert 2009

    http://blog.vadmin.ru

  • corrupted virtual linux machine flight

    not sure if it's a matter of linux or vmware... but I'll post here first.

    at home I have free ESXi 5.1 running and a synology NAS with linux virtual machine. recently, power got accidentally turned off on the synology and the linux VM have some problems of corruption.

    they can start but not completely trying to unmount a volume to run fsck results in this particular target busy, so cannot run fsck on this target.

    is there a tool vmware as fsck that run on the virtual machine, while the virtual machine is powered down to solve the problems of corruption since I can't umount the volume I need trouble?

    Never mind. has been able to get networks part-time running on the virtual machine in maintenance mode and copied "testdisk" to the virtual machine. they are corrupt, but I was able to get a disk image of the two copied on my synology. config files and documents that I need are there and intact. had a recent backup but no worries now.

    then the devil to obtaining these VM to run I will install the new virtual machine.

  • Conversion of the virtual Linux machine

    Hello

    Just a quick question for this one. When you configure the conversion process for a VM linux to help ' centre of VMware converter standalone 5', I noticed that there is no option to sync after conversion. I'm guessing that there is something fundamentally different that could explain this and apologize if I should have watched it. My question is why is this? Can we do it manually after the conversion, or y at - it no need conversion? If so, why?

    Thank you

    Unfortunately, it is correct.

  • Best practices running like a virtual Linux machine

    We are a boutique Wintel and decided to start looking to support Linux guests.  I have no real knowledge of linux and how it works as a guest operating system.  Are there recommended for installation, configuration and performance around Linux?

    I found a few documents (http://www.vmware.com/files/pdf/linux_install_config.pdf and http://www.vmware.com/pdf/vi_performance_tuning.pdf), but wanted to get some opinions of real life.  I also know that's a broad question, but what is the typical Linux deployed VM in regarding resources.  Would be a 2vCPU be 4 GB of RAM by default good installation? I know most of the answers will be 'it depends', but I'm a real novice with linux all suggestions and criticisms are welcome.

    Our environment:

    vCenter4.0.0U1

    ESX4.0.0U1

    2 8 nodes on IBM x 3650 M2 Intel x 5570 (16 processors, logical and 128 GB of RAM by)

    Emulex HBA connection to a Hitachi USPV

    More information can be provided, if necessary

    Thanks again!

    I also propose to use distribution supported (just to get support is that something goes wrong) and always install the VMware Tools.

    Do not use VMI on 32 bit, cause in the future is removed.

    You will also find a lot of tuning, like this:

    http://www.fewt.com/2008/06/performance-tuning-VMware-Server-on.html

    But I saw no difference, so I suggest to keep things simple and just install the VMware Tools, use supported distro, do good design VM (minimum number of vCPU, good Mem,...)

    Also note that Linux usually use vRAM in an aggressive manner (compared to Windows 2003).

    André

  • Multiple NICs on a virtual single linux machine

    It seems like it should be simple, but when I assign two adapters for a virtual machine linux simple, the virtual linux machine stops as soon as it finishes the set-up and the fact over and over again endlessly.   He made a clean shutdown, I look at the console, I see it start to stop all the services at the time wherever he gets all a started.

    It started as soon as I added a second network adapter, and the problem disappeared as soon as I removed the network card.

    What I'm trying to do, is to have a second network adapter on a separate network that I use to communicate with one another physical machine on my network using a static internal ip address.

    I have set up a separate virtual switch, which possesses the second network card are entrusted to him.   There is only a single guest that uses this adapter.    Does anyone have any ideas why this would cause CentOS5 keep close and restart constantly?

    Sorry, in my previous message, actually one-liner I wasn't very clear.

    I mean, what happens when you configure the virtual computer with a second NETWORK adapter, and then restart the virtual machine in Single-user Mode od recovery mode?

    Is the virtual machine responds the same way or not?

    The idea is to start the VM with less service so that it continues to run and you will be able to do research on the second NETWORK card

    Paul Grevink

    Twitter: @PaulGrevink http://twitter.com/PaulGrevink

    If you find this information useful, please give points to "correct" or "useful".

  • VMware Consolidated Backup, LInux Machines go read-only

    We have a strange problem, the scenario is as follows:

    3 knots x 3650, hba qlogic, Vmware 3.5 Update 4

    1 SATA ds3400 dual ctrl

    1 x 3650 dedicated to the VCB nodes

    A lot from time to time, virtual Linux machines, VCB has completed the backup, rest with the read-only file system, the only chance to solve the problem is to restart the virtual machines: we already checked the vmware tools and are all up to date.

    Any suggestions?

    Thank you very much

    As a general rule, it is not realistic to adjust the waiting times for the LSI or buslogic drivers scsi as they would need to be recompiled. To my knowledge there is no kernel option, you can pass to them on this issue. Some versions of redhat specifically deal with it is bad and flipping in read-only mode. I think RHEL 4 U4 and precedent are touched by this, U5 has been set, and the problem was inexplicably re-introduced in U6 (I hope those updated numbers are right, I have to look back through my SRs to understand). If I were you, I would look at the upgrade to vSphere 4 that has a couple of cool things.

    1. new options scsi (LSI SAS, paravitual SCSI driver pvscsi virtual controller)

    2 VMFS 3.33 (which will require you to reformat your LUN with the new VMFS however) has up-to-date SAN attempts, which means that wait times do not necessarily make the LSI/Buslogic controller in the first place and will be dealt with at the level of the VMFS layer. It is possible that you could put a LUN with the VMFS 3.33 using host vSphere 4.0.0 and not spend the rest of your hosts, but I'm not positive on this one here.

  • Cannot install the machine virtual linux 2 TB in size in esxi 5.5

    Cannot install the machine virtual linux 2 TB in size in esxi 5.5

    VM will be restarting inbetween fixing and explains the operating system not found.

    Please help me on this

    Thank you

    Anand

    What Linux distro are you trying to install?

  • Unable to connect my Linux Machine database

    Dear all,

    Hope you will be fine.

    I'm having a problem to connect to PL / SQL Developer with my database available on the Oracle Linux virtual machine.

    I have a windows 7 installed on my PC, I have installed a virtual machine and install oracle 11g on this machine. I have a database named orcl on this and I am trying to connect to the database with my windows machine. I assigned ip appropriate to both computer and created under the setting mentioned in my tnsnames.ora file. But when I go to connect it shows error ORA-12203: TNS: unable to connect to the destination. Please guide me where I am doing wrong so I'll do it properly.

    ORCL_11G =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS =

    (COMMUNITY = tcp.world)

    (PROTOCOL = TCP)

    (Host = 192.168.0.100)

    (Port = 1521)

    )

    )

    (CONNECT_DATA = (SID = orcl)

    )

    )

    Kind regards

    Atif Zafar

    Thank you all for your help. I solved this problem by mentioning the HOST in listener.ora and tnsnames.ora files. In fact, I have to assign the static IP address of my Linux machine and unfortunately not to mention the IP address in my two files. It is show HOST = localhost this is why it is forbidden to connect with the other machine. Now I connected successfully and it works fine now.

    You mention linux machine IP here.

    ORCL =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS =

    (COMMUNITY = tcp.world)

    (PROTOCOL = TCP)

    (Host =192.168.0.100)

    (Port = 1521)

    )

    )

    (CONNECT_DATA = (SID = orcl)

    )

  • Convert the physical Linux machine with VMware Converter Standalone 4.0.1 on VMware Workstation

    Hello

    I work in a virtualization project, now I test and I want to test the new version of the converter, because I need to convert some Linux machines and I know that with this version is not difficult.

    I do not have the ready virtual infrastructure so I test on a workstation environment. I would like to know if someone has converted a physical Linux machine to virtual and if the destination has VMware workstation 6.5. I know that this is not supported, but this does not mean that you couldn't do.

    When I have to specify the type of destination, I got the error that you could see on the photo.

    Please let me know if you have tested this before and you know how to solve this problem.

    Thanks in advance!

    See you soon

    Malulas,

    Welcome to the Community Forums.

    To do a physical to virtual conversion, you MUST GO to ESX.  It is a requirement under the guidance of the user manual.

    If the virtual machine was already in ESX, you might be able to export to a workstation image while the ESX VM is powered off.

    Sorry for the bad news.

    Kind regards

    EvilOne

    VMware vExpert 2009

    NOTE: If your question or problem has been resolved, please mark this thread as answered and awarded points accordingly.

  • V2V of Linux machines

    Hello

    I need V2V Fedora linux fromESX 2.5 and ESX 3.5. We did it for servers windows without any problem. I did not V2V for Linux machines.

    We leave V2V of VC 2.5 providing the host names of windows servers.

    Can you please let me know if the process described above is correct and let me know if it is advisable to do this activity.

    Thank you

    Hello

    VMotion, MIgrate, Clone, VMware Converter all work for me perfectly with LInux VMs. treat them just like any other virtual computer.

    Best regards

    Edward L. Haletky

    VMware communities user moderator

    ====

    Author of the book "VMWare ESX Server in the enterprise: planning and securing virtualization servers, Copyright 2008 Pearson Education.»

    Blue gears and SearchVMware Pro Articles: http://www.astroarch.com/wiki/index.php/Blog_Roll

    Security Virtualization top of page links: http://www.astroarch.com/wiki/index.php/Top_Virtualization_Security_Links

  • You can create a view that filters (ESX host) Linux machines on the view of the Infrastructure?

    Hello

    We have recently implemented Foglight and VMware plugin. As part of the VMware plugin, Foglight pulls in all the Linux VM machines including the ESX host. Our team of Linux only manages the running redhat Linux hosts. They fail the ESX VM guest. That said, is there a way to create a view that shows only the hosts running redhat Linux?

    For example the view of rail infrastructure below contains 88 Linux machines, but nearly half of them are ESX hosts for our Linux team would not see all these. Is it possible to filter these?

    Any help is appreciated.

    Thank you

    Tony

    The easiest way would be to create a personalized, pair it with Infrastructure and then create a dynamic management component.  This will help create you a rule for "All hosts" where you can find just the hosts that are not of the ESX host and run Linux.

    The query would be:

    detail.topologyTypeName! = "VMWESXServer" & os.longName like «% Linux»

  • Is it possible to install HFM in LINUX machine

    Hi all

    Is it possible to install HFM in LINUX machine.

    Some of them tell us that we are not able to install HFM in linux machine.

    To my knowledge I want to know if it is possible to install HFM in LINUX machine or not.

    Please help me on the same.

    Thanks in advance

    Concerning

    Satheesh.S

    Hello. Yes, you can run HFM 11.1.2.4 on Linux with Exalytics material. Earlier versions will not work on Linux.

    Eric

  • Pop - ups without closing after downloading files using webutil_file_transfer.client_to_as_with_progress on linux machines

    We have an Oracle application that runs on windows and linux machines based on the forms. Application server is database to Oracle 11 g and 10g.

    There is a feature of the application where the user can download his files to the application server, as well as in the database.

    When transfer us files by accessing the application in windows (Internet application), and then download the feature works very well.

    When we transfer files by accessing the application on linux machines, then also download files get stored on the database and application server and features works.

    However, as soon as the download starts a pop-up is launched by displaying the message like "upload to the application server is in progress."

    These pop - ups are not get closed even when the file is downloaded to the application server.

    Can you please let me know how to deal with this behavior

    Application server is database to Oracle 11 g and 10g.

    And you release Forms?  We can only "Assume" you use form 10g since you are using Oracle Application Server (OAS) 10g.  But of course you "Assume" you use OAS 10g since you specifically mentioned.

    Since you have a deployed Web app forms, it would be also useful to know-your-client Java and browser versions.

    We have an Oracle application that runs on windows and linux machines based on the forms.

    When we transfer files by accessing the application on linux machines, then also download files get stored on the database and application server and features works.

    However, as soon as the download starts a pop-up is launched by displaying the message like "upload to the application server is in progress."

    WebUtil is a single library of Windows.  While some of the methods in the library will work on non-windows clients - they are not guaranteed to work on non-windows clients.

    These pop - ups are not get closed even when the file is downloaded to the application server.

    Since you are actually able to get this method to work, I suggest you check the version of the Client operating system and if it's Windows, use the Client_To_As_With_Progress() method and if it's not Windows, then simply use the Client_To_AS() method.  The other option would be to implement a Javabean to file transfer (A FTP Java Bean - Oracle Forms PJCs/Java Beans) in your form that works with any version of operating system Client.

    Craig...

Maybe you are looking for

  • Satellite C850 - 1 2 Impossible to Win 8 to 8.1

    When I try to upgrade Win 8 to 8.1 I get a message that says update Win first 8.When I try to update Win 8 I get 132 updates. I spent many hours trying to perform this task, but the updates are not installed. I tried using the troubleshooting tool th

  • Evaluate the Message PopUps in IF-loops

    Hello... is there a chance to evaluate two Message PopUps in an IF loop? The program should continue, if a user have pressed the buttons "OK" of these two windows pop up Message. Otherwise, the program access to the end. Thank you Patrick

  • Class not registered (Exception from HRESULT: 0 x 80040154 (REGDB_E_CLASSNOTREG)) VS2013

    Class not registered (Exception from HRESULT: 0 x 80040154 (REGDB_E_CLASSNOTREG))   Instances of this error (2) 1. Hide the call stack at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance (Guid & clsid, object punkOuter, Int32 context, Guid &

  • HP 1410v HPS

    My printer does not print because it says "printer is off-line", but I know that I am online.

  • The connector database Synchproject how to handle an apostrophe SQL

    Hi all We all know the issue with handling string values that includes a single apostrophe ('). This problem can be solved easily flee the apostrophe (i.e. double the single quotation mark) in your SQL statement. My question is at that time that I ne