System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

VG folder and LV device files deleted upon server restart.

 
fsumair_1
Advisor

VG folder and LV device files deleted upon server restart.

Hi,

I am facing a strange problem. I have a server with red hat installed on it. This server is connected to a storage server via fibre channel.
Few days ago we presented a hard disk slice to this server.

I created a volume group for that hard disk and it was working fine.
Some days ago server has to be restarted. When server came back, server was unable to mount logical volume because volume group folder in dev as well as logical volume device file was deleted. I have to recreate it using vgscan then making VG active.

For checking purposes I restarted server again and volume group folder was again deleted.

Any one have any idea about this why this could happen. There is no information of it in system logs.

Need help from you guys.


waiting for response.

Regards
Farrukh
5 REPLIES
Jeeshan
Honored Contributor

Re: VG folder and LV device files deleted upon server restart.

Salam

Let me tell the steps you have followed to create the vg.
a warrior never quits
fsumair_1
Advisor

Re: VG folder and LV device files deleted upon server restart.

Hi

I created PV with pvcreate /dev/sdj

Then created VG with vgcreate

and after that logical volume

lvcreate -L 300G -n data06 vgnew

added an entry in fstab

/dev/vgnew/data06 /data06 ext3 default 0 0

Regards
Farruk Sumair
Jeeshan
Honored Contributor

Re: VG folder and LV device files deleted upon server restart.

your steps were quiet OK.

How many ppl knows your system root password.

this kind of situation may not be happened. check your .bash_history file for command that were suspected for deletion of these device files. may be human intervention is suspicious.
a warrior never quits
skt_skt
Honored Contributor

Re: VG folder and LV device files deleted upon server restart.

it is not manual deletion.. We do observe this for servers with iscsi configured and did not pay much attention as we rarly reboot those servers..
fsumair_1
Advisor

Re: VG folder and LV device files deleted upon server restart.

Hi Santhosh


Can you explain what you said a bit more..
If there is some solution for this ...



Regards
Farrukh