Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

Dump device Problem

SOLVED
Go to solution
suvy12
Frequent Advisor

Dump device Problem

I configured /dev/vg00/lvdump as a dump device in HP-UX 11iv3 server by editing /etc/fstab file.

After some time i remove the line from /etc/fstab and run command crashconf -ar but crashconf commnd output still showing size assigned to the dump device(/dev/vg00/lvdump).

How can it be removed from crashconf output.

Hope server reboot not required for that.

Below is the output

 

Dump compressed:    ON

Dump Parallel:    ON

DEVICE       OFFSET(kB)   SIZE (kB)    LOGICAL VOL. NAME
------------ ------------ ------------ ------------ -------------------------
  3:0x000006      2612064      8388608  64:0x000002 /dev/vg00/lvol2
  3:0x000006     66050912     16777216  64:0x00000b
                          ------------
                              25165824

 

# crashconf -l

DEVICE          LOGICAL VOL.           NAME                 LUNPATH HANDLE
------------    ---------------     -------------------    -----------------------
 3:0x000006     64:0x000002         /dev/vg00/lvol2             6/0/8/1/0.0x8.0x0
 3:0x000006     64:0x00000b                      6/0/8/1/0.0x8.0x0

2 REPLIES
Patrick Wallek
Honored Contributor
Solution

Re: Dump device Problem

Try adding the entry for that LV back into /etc/fstab.  Check the crashconf output and see if the LV name shows again.

 

If it does then run 'crashconf -d' and specify the name of that LV to delete it.  If it is deleted successfully then remove it from /etc/fstab again.

Highlighted
suvy12
Frequent Advisor

Re: Dump device Problem

Hi patric,

 

Actually i removed that LV after removing the entry from /etc/fstab file.

Now accoding to you i recreate that LV with the same name and size and made entry in /etc/fstab also but now i get the below error

 

# crashconf -a
/dev/vg00/lvdump: warning: duplicate device
#
#
# crashconf -d lvdump /dev/vg00
lvdump: error: can't find device
/dev/vg00: error: can't find device

 

 

Opps my mistake it is working

#crashconf -d /dev/vg00/lvdump

it deletes the device entry from crashconf.

 

Thnx