- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Basic question about partitioning and creating dev...
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
01-05-2004 09:41 PM
01-05-2004 09:41 PM
Basic question about partitioning and creating device files
But I have put this winchester in another machine, but on this machine aren't any device files(/dev/vg00/rlvol...)
Another question when I doesn't want to use sam, how can i create partitions, and format it after(fdisk isn't in hp-ux)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 09:51 PM
01-05-2004 09:51 PM
Re: Basic question about partitioning and creating device files
To import volume groups in an other server you can user the vgscan ( man vgscan )command.
# mv /etc/lvmtab /etc/lvmtab.org
# vgscan -apv
If it looks ok
# vgscan -av
And if you know the device files you can use
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
# vgimport /dev/vg01 /dev/dsk/c?t?d?
Second question
For partitions LVM is used and the partitions are called logical volumes (lvols). You can create them using the lvcreate ( man lvcreate) command. Afther the creation you need to put a filesystemen on the lvol (newfs/mkfs) and create an mount point ( mkdir /dirname) and mount it (mount disk dir)
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 09:53 PM
01-05-2004 09:53 PM
Re: Basic question about partitioning and creating device files
To get the info from the disk on the other machine, you have to import the volumegroup information. vgimport is the command for that (man vgimport).
Doing LVM maintenance outside SAM can be done with commands like pvcreate, vgcreate, vgextend, lvcreate, etc. But since you don't know them, I would stick with SAM until you have at least read some LVM documentation or followed an HP-UX administration course.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 11:17 PM
01-05-2004 11:17 PM
Re: Basic question about partitioning and creating device files
I have tryed
but with them is something wrong, the answer is the same as for mknod.
mknod /dev/vg01/group c 64 0x010000
all other seens to be ok
When I have good understand, there is no format, only newfs or makefs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 01:26 AM
01-06-2004 01:26 AM
Re: Basic question about partitioning and creating device files
but
mknod created the group file OK
vgimport /dev/vg01 /dev/dsk/c4t4d0
vgimport: Volume group belongs to different CPU ID.
Can not determine if Volume Group is in use on another system. Continuing.
Warning: A backup of this volume group may not exist on this machine. Please remember to take a backup using the vgcfgbackup command after activating the volume group.
Aha
so I must activate it with vgchange!
Can somebody short explain me what I have made yet, and what I have to do with vgchange. Why is this all so dificult????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 01:31 AM
01-06-2004 01:31 AM
Re: Basic question about partitioning and creating device files
mount /dev/vg01/lvol1 /mnt2
/dev/vg01/lvol1: No such device or address
In vg01/is only group rlvol1 lvol1, that seen already ok, because on the another machine is 1 partition too.
Another question:
in /dev/dsk is the physicaly device, then what is rlvol?? Why do I need lvol... what is group?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 02:27 AM
01-06-2004 02:27 AM
Re: Basic question about partitioning and creating device files
You seem to support yourself just fine.
1. yes you do not have fdisk.
2. The lvol/rlvol difference is the character and block device related. The group file is needed for lvm to import the disk.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 08:57 PM
01-06-2004 08:57 PM
Re: Basic question about partitioning and creating device files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 08:58 PM
01-06-2004 08:58 PM
Re: Basic question about partitioning and creating device files
You need to activate the volume group before you can start mounting. (vgchange -a y)
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 09:01 PM
01-06-2004 09:01 PM
Re: Basic question about partitioning and creating device files
Specify the volumegroup name, otherwise it will start activating all known volumegroups.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 09:02 PM
01-06-2004 09:02 PM
Re: Basic question about partitioning and creating device files
Yuppie,
I gived you some points..
Thanks