Operating System - HP-UX
1833757 Members
2752 Online
110063 Solutions
New Discussion

Disk Status : FS_wholedisk

 
Vasago
Occasional Contributor

Disk Status : FS_wholedisk

Hi,

When i type vxdisk list :

DEVICE TYPE DISK GROUP STATUS
c4t0d1 simple - - FS_wholedisk

Can i convert FS_wholedisk to LVM ?
This disk is an hardware logical array...

If i cannot convert Status on this disk, how i can create lv ? i cannot see vg in SAM... thanks

4 REPLIES 4
Bharat Katkar
Honored Contributor

Re: Disk Status : FS_wholedisk

Yes, you can add it to LVM but doubtfull about the data you already have!!
Why don't to backup you filesystem that resides in c4t0d1 and proceed as below:

Use vgextend to add this pv to existing VG
# vgextend -f vgxx /dev/dsk/c4t0d1
# lvcreate -L -n vgxx
# newfs -F vxfs /dev/rdsk/r
# mkdir
# mount /dev/dsk/

Repeat this if create more LV's.
Restore back your Data into this FileSystems created.

vgxx is your existing Volume Group. If want you can create separate VG for this Disk then proceed as below:
# cd dev
# mkdir
# cd /dev/vgxx
# mknod group -c major minor
# vgcreate -f /dev/vgxx /dev/dsk/c4t0d1
# lvcreate -L -n vgxx
# newfs -F vxfs /dev/rdsk/r
# mkdir
# mount /dev/dsk/

You can create same filesystem/LV structure as you have not on wholedisk if required.

This should work fine
Bharat

You need to know a lot to actually know how little you know
Bill Hassell
Honored Contributor

Re: Disk Status : FS_wholedisk

The whole-disk has no relationship to LVM so it cannot be converted. That's why SAM does not show this filesystem as a part of a volume group. The mount point in fstab is likely /dev/dsk/cXtYdo rather than something like /dev/vg01/lvol1. You must backup the entire mountpoint, umount the filesystem, then you can create a volume group using SAM.


Bill Hassell, sysadmin
Sunil Sharma_1
Honored Contributor

Re: Disk Status : FS_wholedisk

Hi,

FS_wholedisk status shows that your full disk is used as single FS without usiing any volume manager (Nither Veritas nor LVM).

If you want to use take this disk in the control of volume manager you have to backup all the data and then use LVM or VxVM command to take it under volume manager.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
KapilRaj
Honored Contributor

Re: Disk Status : FS_wholedisk

Do u have any data inside this disk ? if yes go for a full backup and then either add this disk into an existing volume group (pvcreate,vgextend,lvcreate,newfs) or create a new volume group(pvcreate,mknod,vgcreate,lvcreate,newfs).

Good luck

Kaps
Nothing is impossible