<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: install new disk and retain the data on that disk in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865573#M44977</link>
    <description>This is great information.  But can you explain more about "probe the scsi again"?&lt;BR /&gt;I'm not familiar with this, and I appreciate the warning about not having other luns on it.  I think that this makes it necessary to do at a downtime, though.  We only have the two fibre channel cards (primary and failover), so all the luns are on the same path.  In hp-ux, I can run the ioscan command to find the new hardware.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;</description>
    <pubDate>Fri, 15 Oct 2004 12:11:41 GMT</pubDate>
    <dc:creator>Martha Mueller</dc:creator>
    <dc:date>2004-10-15T12:11:41Z</dc:date>
    <item>
      <title>install new disk and retain the data on that disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865568#M44972</link>
      <description>Greetings!&lt;BR /&gt;Like many others, I am learning linux from an HP-UX administrator's point of view.  My question of the day concerns installing a disk that contains data, and keeping that data.  In HP-UX, I would use the vgexport command and then vgimport.  The current installation of linux is not using lvm.  If I have data from an hp-ux environment that uses lvm, raw though, no filesystem on this logical volume, can I present this data to the linux server after moving the disk into the linux server?  Would it work if the linux server is also using lvm?&lt;BR /&gt; &lt;BR /&gt;Any general knowledge is appreciated.</description>
      <pubDate>Fri, 15 Oct 2004 10:48:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865568#M44972</guid>
      <dc:creator>Martha Mueller</dc:creator>
      <dc:date>2004-10-15T10:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: install new disk and retain the data on that disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865569#M44973</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It doesn't sound like it would work.  Even if your Linux system is using LVM, it is a different implementation of LVM and probably wouldn't recognize the disk.  &lt;BR /&gt;&lt;BR /&gt;I've never tried anything like that before, so I can't say for sure if it would work, but it doesn't sound good.  You might be able to put the disk in and then use 'dd' to try to pull the raw data off the disk, but that would be tricky.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Oct 2004 11:02:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865569#M44973</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2004-10-15T11:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: install new disk and retain the data on that disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865570#M44974</link>
      <description>Hi Martha,&lt;BR /&gt;&lt;BR /&gt;first of all I need some details.&lt;BR /&gt;&lt;BR /&gt;Your new disk came from a linux system ? What is the file system type ? The server that will receive the disk is an Intel one ? What distro is running on it ? How will you install the new disk, on a new scsi contrller Iis it scsi or ide ?) ?&lt;BR /&gt;&lt;BR /&gt;If your disk is origilaly from a linux system and the filesystem is supported on the new system, everything will work fine and after the boot you will just have to mount the disk (all the partitions/filesystems) and access it.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;xyko</description>
      <pubDate>Fri, 15 Oct 2004 11:09:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865570#M44974</guid>
      <dc:creator>xyko_1</dc:creator>
      <dc:date>2004-10-15T11:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: install new disk and retain the data on that disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865571#M44975</link>
      <description>This is just a hypothetical question.  We have several HP-UX servers all sharing a symmetrix.  I can move data around by first assigning a lun to hp-ux server A, then creating a logical volume on this lun.  run the vgexport to write information to this lun.  Then move this lun from hp-ux server A over to hp-ux server B, and run the vgimport to have the data be available to server B.&lt;BR /&gt;&lt;BR /&gt;Is there anything comparable in linux?  As was already pointed out, the lvm might not be compatible, so this might not work.&lt;BR /&gt;&lt;BR /&gt;Just trying to find which tools are portable between hp-ux and linux.&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Fri, 15 Oct 2004 11:14:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865571#M44975</guid>
      <dc:creator>Martha Mueller</dc:creator>
      <dc:date>2004-10-15T11:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: install new disk and retain the data on that disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865572#M44976</link>
      <description>Martha,&lt;BR /&gt;&lt;BR /&gt;as far as I know the lvm implementation on linux is based on hp-ux lvm. I think that you will may take quite the same steps. I think there is vgexport and vgimport on linux lvm. I don't use lvm on linux because I'm running RedHat As 2.1 and it does not support lvm. If you just want another device, not part of a lvm, you just need to unmout the symmetrix disk from the original system, remove the zooning for security reasons, make a new zooning between the new server and the required disk, probe the scsi again (rmmod and insmod the module that supports the fibre chanell adapter will work but you cannot have mounted luns on it), mount the new device and go on.&lt;BR /&gt;&lt;BR /&gt;Hope it helps.&lt;BR /&gt;xyko</description>
      <pubDate>Fri, 15 Oct 2004 11:29:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865572#M44976</guid>
      <dc:creator>xyko_1</dc:creator>
      <dc:date>2004-10-15T11:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: install new disk and retain the data on that disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865573#M44977</link>
      <description>This is great information.  But can you explain more about "probe the scsi again"?&lt;BR /&gt;I'm not familiar with this, and I appreciate the warning about not having other luns on it.  I think that this makes it necessary to do at a downtime, though.  We only have the two fibre channel cards (primary and failover), so all the luns are on the same path.  In hp-ux, I can run the ioscan command to find the new hardware.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Oct 2004 12:11:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865573#M44977</guid>
      <dc:creator>Martha Mueller</dc:creator>
      <dc:date>2004-10-15T12:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: install new disk and retain the data on that disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865574#M44978</link>
      <description>Oh, and for anyone else following along, I found a reference on red hat's site in the system administration guide for the need to use   "devlabel" command.  "If a hard drive is physically moved to a different location in the machine, is removed, or fails to initialize, some of the device file names will change, potentially leaving device name references invalid.  For example, if a system has 3 SCSI hard drives, and the second SCSI hard drive is removed, /dev/sdc becomes /dev/sdb, causing any references to /dev/sdc to become invalid and any references to /dev/sdb invalid as well since it is a different drive"  &lt;BR /&gt;&lt;BR /&gt;Do a man page on  devlabel for details.</description>
      <pubDate>Fri, 15 Oct 2004 12:18:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865574#M44978</guid>
      <dc:creator>Martha Mueller</dc:creator>
      <dc:date>2004-10-15T12:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: install new disk and retain the data on that disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865575#M44979</link>
      <description>Martha,&lt;BR /&gt;&lt;BR /&gt;we don't have any command similar to ioscan in linux (as far as I know), so you have to reboot your server or to remove and reload the driver associated to the fibre channel controler (you may have a qlogic or emulex card).&lt;BR /&gt;&lt;BR /&gt;Doing a lsmod command you can see all modules (drivers) loaded in your system. For qlogic you may have qla2300 module and if the controller is emulex the driver is lpfcdd. So for qlogic you do rmmod qla2300 and after modprobe qla2300. For emulex the same commands changing the module name. But please dont't forget to unmount all devices associated to the controler before rmmod. The command does not work if the device is busy. You may see if there is any busy device using the module using lsmod. If the "used" field is not zero, so you have busy devices.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;xyko</description>
      <pubDate>Fri, 15 Oct 2004 12:50:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865575#M44979</guid>
      <dc:creator>xyko_1</dc:creator>
      <dc:date>2004-10-15T12:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: install new disk and retain the data on that disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865576#M44980</link>
      <description>OK, that helps clear things up.&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Oct 2004 12:54:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865576#M44980</guid>
      <dc:creator>Martha Mueller</dc:creator>
      <dc:date>2004-10-15T12:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: install new disk and retain the data on that disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865577#M44981</link>
      <description>.&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Oct 2004 12:55:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/install-new-disk-and-retain-the-data-on-that-disk/m-p/4865577#M44981</guid>
      <dc:creator>Martha Mueller</dc:creator>
      <dc:date>2004-10-15T12:55:59Z</dc:date>
    </item>
  </channel>
</rss>

