- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- installing a new /users disk
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
05-14-2002 04:24 PM
05-14-2002 04:24 PM
We have an HP C110/9000 UNIX box running HPUX 10.2E. We would like to replace our current /users (HD) with a larger one. My question:
Is replacing a hard drive on a UNIX machine as simple as doing it on a PC?
I plan to back up the current /users disk on a tape, install the new disk, and then copy the data back to the new disk from the tape. Is it really that simple?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 04:38 PM
05-14-2002 04:38 PM
Re: installing a new /users disk
make sure that the drive that /users resides
on is not shared with anything else.
Run 'bdf' it will tell you what volume group
that /users belong to.
e.g. for volume group vg00
/dev/vg00/lvol3 143360 92519 47713 66% /
/dev/vg00/lvol1 83733 30224 45135 40% /stand
/dev/vg00/lvol8 2097152 1349655 705228 66% /var
/dev/vg00/lvol7 909312 553946 333171 62% /usr
/dev/vg00/lvol6 512000 4402 476465 1% /tmp
/dev/vg00/lvol5 1024000 655382 345588 65% /opt
/dev/vg00/lvol4 524288 382571 132881 74% /home
From this the middle portion 'vg00' is the volume group.
Run 'vgdisplay -v /dev/vg00' will tell you what
is in that volume group. You need to work this out before going any further.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 05:03 PM
05-14-2002 05:03 PM
Re: installing a new /users disk
# bdf
# vgdisplay -v
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 06:41 PM
05-14-2002 06:41 PM
Re: installing a new /users disk
it can be fairly simple if you have only one h/d and a tape drive.
check to see if you have ignite installed
ls /opt/ignite/bin
if not install from applications CD.
backup system using
/opt/ignite/bin/make_recovery -A
install new disk
boot system, interrupt boot process and make system boot from recovery tape.
system should now be identical to when old disk was removed.
cheers
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 08:21 PM
05-14-2002 08:21 PM
Re: installing a new /users disk
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/dsk/c0t6d0 1538713 1259210 125631 91% /
/dev/dsk/c0t5d0 4103198 2401348 1291530 65% /users
# vgdisplay -v
#
wayne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 08:23 PM
05-14-2002 08:23 PM
Re: installing a new /users disk
Wayne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 09:27 PM
05-14-2002 09:27 PM
SolutionHaving a non-LVM configuration is somewhat
unusual these days.
Anyway... back to your question:
This should be simple:
Yes do create you backup, you could use
'fbackup' for example:
# fbackup -i /users -f /dev/rmt/0m
(assuming /dev/rmt/0m is your tape drive)
Verify your tape contents:
# frecover -I /tmp/index.out
(view the output with vi)
unmount /users or shutdown the system cleanly.
Install new disk
Start the machine, once up make sure that you
can talk to the disk:
# ioscan -fn (see the new disk)
# diskinfo /dev/rdsk/c0t5d0 (assuming that is the device)
(I would make sure that the disk has a different SCSI
id to others, make it 4, so that your device should
be /dev/dsk/c0t4d0)
# sam
--> Disks and Filesystems
--> From the actions menu
--> choose mount and follow the instructions.
It should be that simple.
Recover from your backup tape
# frecover -x -f /dev/rmt/0m
HTH
~Michael~