Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I've been struggling to set up an external HD managed using LVM. Everything looks just fine until I try to add the partitions to fstab.

But leaving details aside for a moment, I'm not finding any discussion anywhere about using LVM under Raspbian. I don't know if this is because it's trivial, or no one's doing it for reasons I just don't hear about.

So, could people please comment on this? Are you using LVM? Is it obvious why it should be a problem?

share|improve this question
    
I've never tried on a Pi, but there's no reason why it would behave differently from any other Linux. Tell us exactly what you tried (output of pvs and vgs and lvs, content of fstab, copy-pasted error messages, …). –  Gilles Dec 24 '12 at 15:54
    
Sorted. I was trying to use uid and gid in fstab, which doesn't seem to work for LVM partitions. Omitting that, and in stead adjusting the ownership of mount-points using chown and chmod, worked just fine. –  d.ericsson Dec 26 '12 at 13:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.