- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: install new disk and retain the data on that d...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 03:48 AM
10-15-2004 03:48 AM
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?
Any general knowledge is appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 04:02 AM
10-15-2004 04:02 AM
Re: install new disk and retain the data on that disk
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.
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.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 04:09 AM
10-15-2004 04:09 AM
Re: install new disk and retain the data on that disk
first of all I need some details.
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 ?) ?
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.
regards,
xyko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 04:14 AM
10-15-2004 04:14 AM
Re: install new disk and retain the data on that disk
Is there anything comparable in linux? As was already pointed out, the lvm might not be compatible, so this might not work.
Just trying to find which tools are portable between hp-ux and linux.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 04:29 AM
10-15-2004 04:29 AM
Re: install new disk and retain the data on that disk
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.
Hope it helps.
xyko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 05:11 AM
10-15-2004 05:11 AM
Re: install new disk and retain the data on that disk
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.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 05:18 AM
10-15-2004 05:18 AM
Re: install new disk and retain the data on that disk
Do a man page on devlabel for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 05:50 AM
10-15-2004 05:50 AM
Solutionwe 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).
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.
regards,
xyko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 05:54 AM
10-15-2004 05:54 AM
Re: install new disk and retain the data on that disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 05:55 AM
10-15-2004 05:55 AM