Operating System - Linux
1830872 Members
1999 Online
110017 Solutions
New Discussion

Re: lvm crashes my machine

 
Azieh Ndangoh
Occasional Contributor

lvm crashes my machine

Hi there,

I have created a logical volume striped over 8 17G disks, with a stripe size of 64K. The the device is mounted, and everything looks fine (i.e. "df -k" shows ca. 136 GB, for the logical volume size). I can write small data on the device, but when I try to ftp a 5G file on this volume, the system crashes, and I have to reboot. what have I done wrong ?!?

help will be appreciated.

inno

live and let die
7 REPLIES 7
Sridhar Bhaskarla
Honored Contributor

Re: lvm crashes my machine

Hi,

1. Can you post tail -10 of your /var/adm/syslog/OLDsyslog.log?.
2. Is this server in a service guard cluster or on a disk array that being shared by other servers? If so, are you sure you did not use any of the disks that are being used by other server?
3. What is the patch level on this system?.
4. How do the command "vgdisplay -v" respond?. Are you seeing any errors?.
5. Are you seeing any errors while the system is booting?.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Jeff Schussele
Honored Contributor

Re: lvm crashes my machine

Hi,

What OS & JFS versions are you running?
Are your patches up to date?
Do you have largefiles enabled on this FS?

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Martin Johnson
Honored Contributor

Re: lvm crashes my machine

Check /etc/rc.log for errors during the reboot.

HTH
Marty
Azieh Ndangoh
Occasional Contributor

Re: lvm crashes my machine

thanks to all for the prompt responses.
I am using redhat linux 7.1 with kernel version 2.4.18, but hoped to get the answer from this forum.

lvm = verison 1.1. Haven't applied any patch yet.

vgdisplay -v shows no errors,
>>>>>>>>>>>>>>>>>>
--- Volume group ---
VG Name vol1
VG Access read/write
VG Status available/resizable
VG # 0
MAX LV 256
Cur LV 1
Open LV 0
MAX LV Size 255.99 GB
Max PV 256
Cur PV 8
Act PV 8
VG Size 135.62 GB
PE Size 4 MB
Total PE 34720
Alloc PE / Size 34560 / 135 GB
Free PE / Size 160 / 640 MB
VG UUID RiY8ij-p9mP-Lxsj-qU74-UHX4-BsS6-j8oZI6

--- Logical volume ---
LV Name /dev/vol1/v1
VG Name vol1
LV Write Access read/write
LV Status available
LV # 1
# open 0
LV Size 135 GB
Current LE 34560
Allocated LE 34560
Stripes 8
Stripe size (KByte) 64
Allocation next free
Read ahead sectors 120
Block device 58:1


--- Physical volumes ---
PV Name (#) /dev/sda (1)
PV Status available / allocatable
Total PE / Free PE 4340 / 20

PV Name (#) /dev/sdb (2)
PV Status available / allocatable
Total PE / Free PE 4340 / 20

PV Name (#) /dev/sdc (3)
PV Status available / allocatable
Total PE / Free PE 4340 / 20

PV Name (#) /dev/sdd (4)
PV Status available / allocatable
Total PE / Free PE 4340 / 20

PV Name (#) /dev/sde (5)
PV Status available / allocatable
Total PE / Free PE 4340 / 20

PV Name (#) /dev/sdf (6)
PV Status available / allocatable
Total PE / Free PE 4340 / 20

PV Name (#) /dev/sdg (7)
PV Status available / allocatable
Total PE / Free PE 4340 / 20

PV Name (#) /dev/sdh (8)
PV Status available / allocatable
Total PE / Free PE 4340 / 20
>>>>>>>>>>>>>>>>>>



The man page for mkfs doesn't say how to enable largefile support during filesystem creation.

/etc/rc.log doesn't exist on my machine.

gotta try and enable largefile support though

thanks

inno
live and let die
Jeff Schussele
Honored Contributor

Re: lvm crashes my machine

Hi (again) inno,

Well, I'm not much of a penguin-head. Have my hands full with HP-UX.

In HP-UX, during FS creation you'd use the -o largefiles parameter. And if afterward you want to turn on largefiles you'd run
fsadm -o largefiles /dev/vg_name/lv_name

You can just run
fsadm /dev/vg_name/lv_name
to see what's turned on & off on the FS.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Sridhar Bhaskarla
Honored Contributor

Re: lvm crashes my machine

Ohhh!!!. you got me in there.. I cannot certainly answer on Linux.
Try posting this thread in the Linux forum here.

http://forums.itrc.hp.com/cm/FamilyHome/1,,118,00.html

Good luck.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Steven E. Protter
Exalted Contributor

Re: lvm crashes my machine

HP says lvm has been ported to Linux.
Everything should work exactly the same. When creating filesystmems, you probably need to change the -F fstype part of the command line to include a valid Linux fs type.

LVM is great on HP-UX and may become the defact standard on Linux.

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com