[ale] backing up /var -POSTGRES & LABEL

Jeff Lightner jlightner at water.com
Thu Feb 22 08:37:14 EST 2007


1.)  lsof /var (or fuser /var if you don't have lsof - lsof is far
superior in my experience - I've found some things fuser won't show you
that lsof does.)
In my earlier response to your question I had noted that often going to
single user from a multi-user run level doesn't unmount /var - however
booting into single user shouldn't mount anything but /.

2.)  You could put a label on it but it's not necessary.   
Personally I've never understood the fascination with labels in Linux.
It isn't always obvious later which partition goes with which label - if
I'm interested in the device rather than the mount point I'd just as
soon seen that in the fstab than try to figure it out.   I gather the
idea is that if you see the label it helps you know it's purpose but it
seems easy enough to figure out purpose from the partition table and
fstab.

-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Paul
To: ale at ale.org
Cartwright
Sent: Thursday, February 22, 2007 8:22 AM
To: Atlanta Linux Enthusiasts
Subject: [ale] backing up /var -POSTGRES & LABEL

ok,
I was successful in adding a new drive & moving /var to it! /var went
from 96% 
full, to %3 full.
I had 2 issues that I still would like some info on ( for future use & 
reference:)

1. Even in single user mode ( init 1) /var would not unmount, said it
was busy 
( postgres active??) I didn't know what to do. so I could not rename it,
to 
move it to the new drive. Question, how would I know why /var was busy,
and 
how would I stop postgres?

2. in /etc/fstab /var was a LABEL... LABEL=/var    /var......

I commented it out and added the new drive as :
/dev/sdb1 /var...

I'm not familiar with LABELS in fstab, could I have done it differently
using 
the LABEL?

thanks for all your help!!

-- 
Paul Cartwright
Registered Linux user # 367800
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale



More information about the Ale mailing list