- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Installing new harddisk on hpux 10.20B
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
12-30-2001 11:54 PM
12-30-2001 11:54 PM
Installing new harddisk on hpux 10.20B
how can i install & configure until it can be used properly, new harddisk which have no data ( new harddisk) in my hp-ux 10.20 ( g.30 series). also how i can install new harddisk which have fat16 filesystem in my machine.
( in step by step guide please )
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2001 02:56 AM
12-31-2001 02:56 AM
Re: Installing new harddisk on hpux 10.20B
if you install a new harddisk on your system the hp-ux 10.20 will discover it .
after you putting the disk you will see it with ioscan -fnCdisk .
there isnt any special guide but be sure that you know how to add it .
you ask about a fat16 filesystem , i think that you are talking about a windows file system .
if you will put in on an hp-ux system the system will be lost because hp doesnt know this type of filesystem .
if you add a new disk you can config it with
pvcreate -f device file
if you want a new vg
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgcreate vg01 device file of the disk (dsk device file )
lvcreate -L size ( to create a new logical volume )
mkdir /filesystem mount point
newfs -F vxfs /dev/vg01/rfilesystem mount point
and add it to the fstab .
if you want to add it to a volume group that exist just use the command vgextend
if you have more que. please ask
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2001 05:48 AM
12-31-2001 05:48 AM
Re: Installing new harddisk on hpux 10.20B
SAM is your best buddy.
Assuming you already have logical volumes setup.
SAM -> disk and file systems -> disk devices
click on disk to use -> actions-> add -> using Logical volume manager (add to whatever volume group, then extend volumes or add more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2002 05:41 PM
01-01-2002 05:41 PM
Re: Installing new harddisk on hpux 10.20B
if i want to add another disk but, have filesystem ( imagine, i take it disk to another machine), how can i install it ( with existing filesystem and data)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2002 07:05 PM
01-01-2002 07:05 PM
Re: Installing new harddisk on hpux 10.20B
You can move a filesystem from one system to another but moving the disk(s) it's on but you can move a Volume Group (and it's logical volumes and filesystems) from one system to another like this:
On system A:
umount all filesystems in the VG (let's assume vg01)
vgchange -a n vg01
vgexport vg01
remove the disks for vg01 from system A and connect them to system B
on system B:
(assume we want the disks to be in vg05)
use ioscan -fnC disk to identify the new disks
mkdir /dev/vg05
mknod /dev/vg05/group c 64 0x050000 (minor number must be unique for all VG group files - use ll /dev/vg*/group to verify you are using a unique minor number)
vgimport vg05 /dev/dsk/c... (list all the disks in the VG)
If you want the same logical volume names on system B that you had on system A, use the mapfile option of vgexport and vgimport (see the man pages). Copy the mapfile you create with vgexport on system A to system B and use it with vgimport.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2002 08:18 PM
01-01-2002 08:18 PM
Re: Installing new harddisk on hpux 10.20B
Just to add to the above msg, in later HP-UX versions, Disks are members of volume groups (VG). Disks of same VG have same VGID.
..# vgexport -m
your map_name will be located in /etc/map_name.map.
..# echo 0x2010?2X | adb /dev/dsk/cXtXdX | expand | tr -d " " | sed "s/2010:/VGID /"
PLEASE NOTE! The line must be typed exactly as it appears; substitute the proper device file for /dev/dsk/cXtXdX.
The output will be similar to:
VGID 1123345656DC7788
to add a disk to an existing VG you have to do:
..# vi /etc/map_name.map
Note: Insert the output, exactly as it appears, as the first line of the file.
.. remember to run vgcfgbackup /dev/vgXX to update LVM volume group configuration backup file.
G'd luck
t++
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 05:57 AM
01-02-2002 05:57 AM
Re: Installing new harddisk on hpux 10.20B
Now there is a possibility that the dosls and doscp commands might work (if you have a SCSI disk) but they will be very cumbersome to use. The dosls/doscp commands were designed for floppies. Note also that the PC files will be in PC format, that is, all ASCII files will be text
You might be better off ftp or setting up SAMBA on your HP-UX system, then using the PC disk in a PC, share a disk from the HP-UX system and copy needed files to HP-UX.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 06:24 AM
01-02-2002 06:24 AM
Re: Installing new harddisk on hpux 10.20B
"You CAN NOT move a filesystem from one system to another BY moving the disk(s) it's on but you can move a Volume Group (and it's logical volumes and filesystems) from one system to another like this:"
.
.
.
I assumed from your followup post that you were referring to moving a disk from one HPUX system to another HPUX system. If indeed you are trying to take a DOS/Windows disk to an HPUX system then I believe you are out of luck. SAMBA or an NFS solution would be appropriate.
Darrell