Tuesday, November 29, 2005

Copy HD method

Google Groups : comp.os.linux
Connect the new drive, say as hdc or hdd. Then do:

1) Use fdisk to create partitions to your likeing on the new drive.
2) For each file system partition that you make run mke2fs to make a file
system. And use mkswap on the swap parition.
3) Copy the data from the existion drives to the new drive with dump,
something like:
# mount /dev/hdc2 /mnt
# cd /mnt
# dump 0af - / | restore rf -
# rm restoresymtable
4) Make a current boot floppy
5) Move the new drive to the hda position, boot from floppy, and install
a bootloader (lilo or grub-install).

---
For a copy of your ext2 fs without dd'ing, something
like this should work:

cd /dest
dump 0f - / | restore -rf - (dumps root filesystem to /dest)

(assuming /dest is /dev/hda8 and that you have already run
mke2fs on it already and you have dump/restore installed -
it's in Red Hat 3.0.3 and higher).

Dump (backup) filesystem

Set no-dump bit on recordings dir (applies to all files in the dir):

[root@myth mythtv]# lsattr -d /mythtv/recordings/
----------I-- /mythtv/recordings/
[root@myth mythtv]#
[root@myth mythtv]# chattr +d /mythtv/recordings/
[root@myth mythtv]# lsattr -d /mythtv/recordings/
------d---I-- /mythtv/recordings/
[root@myth mythtv]#

Get estimated size of backup (-S option):

[root@myth mythtv]# dump -0uvS -f /mydump_test -h 0 /
DUMP: Excluding inode 8 (journal inode) from dump
DUMP: Excluding inode 7 (resize inode) from dump
5707378688 [approx. 5GB]
[root@myth mythtv]#

-h 0 (means honor the no-dump bit for level0 backups).

DUMP over ssh (Freebsd example):
dump -0uan -f - /usr | gzip | ssh -c blowfish targetuser@targetmachine.example.com dd of=/mybigfiles/dump-usr.gz

Monday, November 28, 2005

New 300GB hard drive

Bought 300GB Maxtor, $90, Fry's special.

Disk env before installation of this new hd:

[root@myth ~]# cat /proc/ide/hda/model
WDC WD800JB-00JJA0
[root@myth ~]# cat /proc/ide/hdc/model
WDC WD2000JB-00GVA0

[root@myth ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
268481216 236744304 18098872 93% /
/dev/hda1 101086 15741 80126 17% /boot
none 387716 0 387716 0% /dev/shm

[root@myth ~]# lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID TtE4Ov-y95i-7zme-LfWX-0CGw-XKO5-luRCQ0
LV Write Access read/write
LV Status available
# open 1
LV Size 260.12 GB
Current LE 8324
Segments 2
Allocation inherit
Read ahead sectors 0
Block device 253:0

--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID P5tMTw-7ex1-euop-itB1-kUAm-PLk0-YLQjI8
LV Write Access read/write
LV Status available
# open 1
LV Size 512.00 MB
Current LE 16
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1

[root@myth ~]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)

[root@myth ~]# vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 2
Act PV 2
VG Size 260.69 GB
PE Size 32.00 MB
Total PE 8342
Alloc PE / Size 8340 / 260.62 GB
Free PE / Size 2 / 64.00 MB
VG UUID 8ocfxz-02ZT-C7U8-ypaJ-7u3Z-4m46-0X0eKf

[root@myth ~]# pvdisplay
--- Physical volume ---
PV Name /dev/hdc1
VG Name VolGroup00
PV Size 186.28 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 5961
Free PE 0
Allocated PE 5961
PV UUID uZSCIq-n8EN-tGPJ-asuy-Yy2d-Q2rr-0OPvmD

--- Physical volume ---
PV Name /dev/hda2
VG Name VolGroup00
PV Size 74.41 GB / not usable 0
Allocatable yes
PE Size (KByte) 32768
Total PE 2381
Free PE 2
Allocated PE 2379
PV UUID Pfg2Ck-wy44-WAG6-1dXT-qQ5J-Dk6V-g6aVcW

[root@myth ~]# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
[root@myth ~]#

[root@myth ~]# ls /dev/hd*
/dev/hda /dev/hda1 /dev/hda2 /dev/hdc /dev/hdc1
[root@myth ~]#

Pulled jumper from new hd to make it slave, added to ide cable. It is /dev/hdd:

[root@myth ~]# cat /proc/ide/hdd/model
Maxtor 6L300R0
[root@myth ~]# cat /proc/ide/hda/model
WDC WD800JB-00JJA0
[root@myth ~]# cat /proc/ide/hdc/model
WDC WD2000JB-00GVA0

Not formatted yet:

[root@myth ~]# ls /dev/hd*
/dev/hda /dev/hda1 /dev/hda2 /dev/hdc /dev/hdc1 /dev/hdd
[root@myth ~]#

Check the partition type of old hard drive:

[root@myth ~]# fdisk /dev/hdc

Command (m for help): p

Disk /dev/hdc: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 24321 195358401 8e Linux LVM

Partition new Maxtor:

[root@myth ~]# fdisk /dev/hdd
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

[empty partition table below]

Command (m for help): p

Disk /dev/hdd: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

Command (m for help):

MAKE NEW PARTITION:

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-36483, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-36483, default 36483):
Using default value 36483

SET PARTITION TYPE:

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): 8e
Changed system type of partition 1 to 8e (Linux LVM)

Command (m for help): p

Disk /dev/hdd: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 1 36483 293049666 8e Linux LVM

WRITE PARTITION TO DISK AND QUIT:

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
[root@myth ~]#

Now we have /dev/hdd1:

[root@myth ~]# ls /dev/hd*
/dev/hda /dev/hda1 /dev/hda2 /dev/hdc /dev/hdc1 /dev/hdd /dev/hdd1

Make lvm pv:

[root@myth ~]# pvcreate /dev/hdd1
Physical volume "/dev/hdd1" successfully created

[root@myth ~]# pvdisplay /dev/hdd1
--- NEW Physical volume ---
PV Name /dev/hdd1
VG Name
PV Size 279.47 GB
Allocatable NO
PE Size (KByte) 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID X531So-5d3B-BeMh-ObO0-0Dx7-SD8l-sEgVX6

[root@myth ~]#

Run vgscan:

[root@myth ~]# vgscan
Reading all physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2
[root@myth ~]#

Extend the VG:

[root@myth ~]# vgextend VolGroup00 /dev/hdd1
Volume group "VolGroup00" successfully extended

Now the VG is bigger:

[root@myth ~]# vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 3
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 3
Act PV 3
VG Size 540.16 GB
PE Size 32.00 MB
Total PE 17285
Alloc PE / Size 8340 / 260.62 GB
Free PE / Size 8945 / 279.53 GB
VG UUID 8ocfxz-02ZT-C7U8-ypaJ-7u3Z-4m46-0X0eKf

Previously free PEs were:
Free PE / Size 2 / 64.00 MB

Now free PEs:
Free PE / Size 8945 / 279.53 GB

Extend the LV by those free extents:

[root@myth ~]# lvextend --extents +8945 /dev/VolGroup00/LogVol00
Extending logical volume LogVol00 to 539.66 GB
Logical volume LogVol00 successfully resized

Now free PE in the VG is:
Free PE / Size 0 / 0

(good)

Filesystem doesn't yet see the new space:

[root@myth ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
257G 224G 20G 92% /
/dev/hda1 99M 16M 79M 17% /boot
none 379M 0 379M 0% /dev/shm

So, need to extend the filesystem (unlike previous cmds, this takes time to complete):

# ext2online -v /dev/VolGroup00/LogVol00
ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b
new filesystem size 141467648
group 2 inode table has offset 2, not 1044
group 4 inode table has offset 2, not 1044
group 6 inode table has offset 2, not 1044
group 8 inode table has offset 2, not 1044
group 10 inode table has offset 2, not 1044
[...]
group 2077 inode table has offset 2, not 1044
group 2078 inode table has offset 2, not 1044
group 2079 inode table has offset 2, not 1044
group 2080 inode table has offset 2, not 1044
using 1024 reserved group descriptor blocks
creating group 4317 with 8192 blocks (rsvd = 1007, newgd = 34)

cache direct hits: 2221, indirect hits: 17, misses: 20
[root@myth ~]#

Now more space! :-)

[root@myth ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
532G 224G 281G 45% /
/dev/hda1 99M 16M 79M 17% /boot
none 379M 0 379M 0% /dev/shm
[root@myth ~]#



[]

Tuesday, November 22, 2005

Mythroku and TS streams

Roku Forums :: View topic - mythroku-0.7 released, now with Live TV: "Quote:
Are you recording the HD material in PS or TS mode? .18 default to Program stream which I wasn't able to play with mythroku.[/quote]

Thanks for the heads up. It might of took me a while to figure out why the HD recordings didn't work. After I went into the mythtvsetp and changed my pchdtv to record in TS instead of PS, it worked like a charm. "

Mythroku navigation

Roku Forums :: View topic - mythroku-0.7 released, now with Live TV: "You should be able to change up/down in live tv with the remote. You can also browse listings by pressing 'Info', then up/down, left/right. "

mythroku thumbnails not loading

Roku Forums :: View topic - mythroku-0.7 released, now with Live TV: "I had to set these settings for the thumbnails and background images to load.
Add this to your mythroku.roku file.

-settingsdir=/mnt/flash1/tmp \
-backend=[YOURMYTHBOX] \
-newestfirst \
-cleansettings
"

Tuesday, November 08, 2005

Backup with dump and restore on Linux mini-HOWTO

"I summarize the procedure of the full restoration in case of trouble for your convenience.

Check whether hardware is the problem, and solve it if necessary.
Read the notebook of the dump log carefully, and figure out the restoration sequence. It is highly recommended to write down the sequence on paper and double-check it.
Confirm that the tape is write-protected before setting it to the drive.
Boot the system with the rescue floppy.
Format the target disk and create the filesystem to restore.
Mount the target filesystem on some directory.
Prepare the temporary space used by restore.
During the restoration of incremental archives in sequence, never erase the ./restoresymtable file until the restoration is over.
Reconfigure the boot method (lilo, etc.).
After the restoration is finished successfully and you confirm everything is OK:
-Erase ./restoresymtable
-Invoke the level 0 dump with a new tape (and preserve the old tapes for a while)."

Monday, November 07, 2005

Play DVD from hard drive

FedoraForum.org - Is there a linux video player that can play ripped dvd's from hard drive?:
"Play DVD video from a directory with VOB files:
mplayer dvd://1 -dvd-device /path/to/directory/"

Sunday, November 06, 2005

Convert HD to DVD (old hipix notes)

OK, I have a reliable Hipix files --> DVD+R disc process, after dorking around countless days with *many* mpeg/dvd/ac3/vob/ifo/divx/avi utils and reading many webpages & this avs thread. And yes, audio and video are in-sync.

With this process, I can convert my HD/SD hipix files to standard DVD-R discs that play in my basic DVD STB. So far I get 2GB = 1hour of video at 16:9 DVD quality. That's about 2 hours per DVD+R.

It involves:

* Converting the hipix .ts files to a file (call it "file1.mpg") with HDTVtoMPEG2. I use the 09 version.

* Extracting (demuxing) the video stream from file1.mpg with TMPG Enc. Call it file2.m2v. Discard the extracted ac3; why? see below.

* Converting (encoding) file2.m2v to DVD standard video with TMPG. As you know, this requires a lot of cpu. Call this file2_converted.m2v

* Extracting (demuxing) the ac3 audio from file1.mpg with DVD2AVI. Call it file3.ac3

* Fixing the sync (delay adjust) of file3.ac3 with AC3Machine. Call it file3_adjusted.ac3

* Creating the DVD (VOB) files with IfoEdit 0.95 ("DVD Author" menu item) with file2_converted.m2v and file3_adjusted.ac3. Dump to a VIDEO_TS directory. Test play from hard drive.

* Burn to DVD+R/+RW with RecordNow Max.

Now that I have this down. I let my PC encode the video for 16hrs and then mux/adjust everything.

Notes:
a. I can correct the aspect ratio to 16:9 using ifoedit. Load vts_01_0.ifo and double click the lines that have "4:3". Save.
b. Don't forget to do "Get VTS sectors" on video_ts.ifo in ifoedit before burning.
c. Max file size of fat32 restricts you to 4GB files. May have to join finished VOB files with something like Vobedit.
d. I use TMPG's DVD (NTSC) template.
e. Demuxing ac3 with DVD2AVI gives you the delay (in ms) to adjust for video/audio sync. AC3Machine automatically sets itself to add/chop by this delay amount. I used to have to convert the ac3 to wav, adjust delay in Sound Forge, then convert back to ac3. After much research, my final approach is faster and keeps everything in the ac3 domain.
f. Had to make sure I installed m2v.vfp into the TMPG dir. and set its priority in Environment settings higher than Directshow file reader.
g. TMPG radio button setting: "ES (Video only)"
h. Doom9 has a good AC3Machine guide
i. Dvdrhelp.com has a good "DVD authoring with freeware/ifoedit" guide

Many late nights spent finding this recipe. But now I'm happy. ah...

fluf

---

Indeed, a single program that can do all of these steps would be great. It is certainly possible. Most of these tools have source code available. So, it would involve taking the pieces and integrating them into one program.

A workaround would be to make a macro that does all of these steps.

After converting more last night, I think I can eliminate some steps from my recipe. I noticed that dvd2avi can load multiple m2v files numbered 000,001,002,etc. Using the d2v file from dvd2avi, I might be able to cut out a couple steps: creating the m2v (use d2v instead) with tmpg and joining the VOBs with Vobedit (dvd2avi ac3 output will be one file). The downside is that the encoding step may take a little longer.

Will try and see if there's a significant time difference...

fluf

---

Last night I optimized the process as follows:

* Converting the hipix .ts files to a file (call it "file1.mpg") with HDTVtoMPEG2. I use the 09 version.

* Loading file1.mpg in DVD2AVI. Creating a small d2v file for the video with DVD2AVI. Call it file2.d2v. At the same time, this extracts (demuxs) the audio stream from file1.mpg with DVD2AVI. Call it file3.ac3. [If you have a series of .mpg files (eg. file000.mpg, file001.mpg, etc.) DVD2AVI can process them all at once: just load the 000 file.]

* Converting (encoding) the video to DVD standard video with TMPG. Load file2.d2v as the video source. As you know, this requires a lot of cpu. Call this file2_converted.m2v (requires m2v.vfp in the TMPG dir).

* Fixing the sync (delay adjust) of file3.ac3 with AC3Machine. Call it file3_adjusted.ac3

* Creating the DVD (VOB) files with IfoEdit 0.95 ("DVD Author" menu item) with file2_converted.m2v and file3_adjusted.ac3. Dump to a VIDEO_TS directory. Test play from hard drive.

* Burn to DVD+R/+RW with RecordNow Max.

This recipe works too and eliminates the separate m2v and ac3 demuxing steps. Also saves disk space cuz you can now encode the .mpg directly via the .d2v file.

fluf

---

I'm using an unmodified version of DVD2AVI. "1.77.3 by LOLI.J"

fluf

---

Yes, you won't get precise chopping with HDTVtoMPEG2, but it's better than nothing. Actually, I don't even bother with that chopping interface. What I do is go ahead and encode the whole thing, and then set chapter points when the show comes back from a commericial. When watching and a commercial starts, I hit the next-chapter button on my DVD player, and PRESTO, I'm resuming the show. [there is a trick to setting chapter points in IfoEdit: you decide on the mm:ss elapsed where you want the chapter point, then convert to frames for the celltimes.txt file. So if I want a point at 7:55, my spreadsheet does ((7*60)+55)*29.97 = the_value for celltimes.txt.]

I haven't run into any problems with sync drift yet. I will keep an eye on it though and report if I see it. I did see stuff like that when I experimented with divx a looooong time ago. As long as the ac3 file differs from the video by only the DELAY amount, I don't think there will be a problem. I have determined that the delay amount is the amount that must be deleted from the front of the audio file.

fluf

---

Did you try an un-altered version of DVD2AVI? I'm using the latest DVD2AVI directly from the developer (no add-ons). Ver 1.77.3 by LOLI.J

The official site is:
http://arbor.ee.ntu.edu.tw/~jackei/dvd2avi/

Curious if it makes a difference.

fluf
ps: I'm not aware of any MPEG2DEC3.DLL renaming or anything like that. All my tools are the virgin download/unzips, except for installing m2v.vfp into my TMPG directory.

---

I'm using IfoEdit 0.95 for DVD muxing and authoring. DVD's play fine with Windvd and normal consumer STBs. I don't use Zoomplayer yet (it looks very cool).

One thing I did run into: I had to make sure I re-loaded the video_ts.ifo file in ifoedit and clicked Get VTS Sectors, then burn. But, you already knew that.

Are you playing the authored DVD from a subdir on the hard drive or off a burned disc. Quite frankly, ifoedit does barebones DVD authoring and is just what I like. I do not like DVD menus. I want to put the disc in and it should start playing the feature.

---

Audio processing is very easy for me:
1. Load .mpg file from hdtv2mpeg2 in DVD2AVI.
2. Click 'Save Project' on the menu bar. Results in "BLAH BLAH DELAY -179ms.ac3" file. And the small .d2v file.
3. Load the .ac3 file from Step 2 into ac3machine, click "Give me AC3!" button.
4. Use the .ac3 file from Step3 in my DVD authoring program (IfoEdit). My dvd-compliant video file comes from TMPG.
5. Author and burn.

ac3machine settings:
* Bitrate: 256
* Channels mode: stereo
* Dynamic compression: unchecked (off)
* "Set delay to" will automatically be set when you load the .ac3 file from Step 2! (nice; this is why I use ac3machine)
* Everything else is unchecked.

I don't use the ES (Video+Audio) mode of TMPG. I use ES (Video only) and it processes the video great everytime. NOTE: I don't use tmpg at all for audio processing! See above.

I found a nice TMPG settings tutorial for high quality video:
http://dvd-hq.info/Compression.html

fluf
ps: I dont have a clue how to use dvd2avi either. I have been very successful just using it for Step1 and Step2, above. All I do is two operations: Load the .mpg from hdtv2mpeg2 and then 'Save Project'. Pretty simple.

HOWTO: How I put hdtv content onto a dvd.

pchdtv.com :: View topic - HOWTO: How I put hdtv content onto a dvd.: "My personal route uses:

-projectX to remove commercials, 'correct' errors, sync audio (m2v + ac3)
-transfer to Windows (different drive in same computer) (Explore2fs)
-TMPGEnc to DVD Mpeg2 (TMPGEnc DVD Author accepts original AC3)

It's a time consuming process. But I opted for the TMPGEnc route as I've heard that TMPGEnc's rendering is probably the best out there. And my experiences have proven it to be true (especially on 720p material). Problem with 1280i conversion is that the 'reinterlacing' causes some slightly noticeable vertical flicker (not a big deal).

I believe I tried the mencoder route, but couldn't get it to work fully (the way I had hoped). "

convert nuv to vob | MythTV | Users

convert nuv to vob | MythTV | Users: "> Maybe I'm behind the times? What are most people using to archive
> thier recordings to DVD?
>
Most people aren't, and the ones that are either don't cut out
commercials, or occasionally have bad sync'd files. ProjectX seems to be
the only utility now that can handle the sync oddities that ivtv streams
sometimes contain. Other utilities (mpeg2desc, avidemux, nuvexport [which
uses avidemux], mplayer, transcode, mjpegtools, etc, etc) don't preserve
sync when demuxing, so remuxing is broken as well. "

[mythtv-users] Re: Getting good audio sync in nuvexport/transcodings w/cutlist?

[mythtv-users] Re: Getting good audio sync in nuvexport/transcodings w/cutlist?: "ProjectX does actually have a nice cutting interface, the ability to
export/import cutlists, a graphical 'timeline' which shows red/green
cut points. It's very slick, add to that the fact that once you
generate a cutlist, ProjectX can process the entire video from the
command line (for batch processing)."

Wednesday, November 02, 2005

Re: what to do with a new harddisk

Re: what to do with a new harddisk: "If you have done a default install of FC3 then you will be using LVM. This gives you the opportunity to use the additional disk space as if it was extra space on your existing filesystems rather than creating a new partition and mounting it at a fixed mountpoint, where the only additional space you'll get is under that mountpoint.


To do this, proceed as above up to the 'p' command
in 'fdisk'. At this point, do the following:

Use the 't' command in fdisk to change the type of the new partition to '8e' (Linux LVM). Then use the 'w' command as above to write out the new partition table.


You would then set up your new partition as an LVM physical volume:
# pvcreate /dev/hdb1

You can then add this new space to your existing volume group, which by default is called Volume00 (the 'vgdisplay' command will show you which volume groups you have):
# vgextend Volume00 /dev/hdb1

You can then allocate additional space to any existing logical volumes you have. I think by default that you get LogVol00 for the root partition and LogVol01 for swap ('df' or a look in your /etc/fstab file should show you what you have). Use the 'lvextend' command to do this (see 'man lvextend').


e.g. to add 50G to LogVol00:
# lvextend --size 50G /dev/Volume00/LogVol00

Finally, you thne increase the size of the filesystem to fill the bigger logical volume. In FC3, this can be done whilst the filesystem is mounted:

# ext2online -v /dev/Volume00/LogVol00 "

Also found this snippet on another page:
ext2online can resize ext3. It does Not resize the block device; you'll
have to do that another way (fdisk magic, LVM, md, whatever).
[ http://dcs.nac.uci.edu/~strombrg/Fedora-Core-3-notes-FC3.html ]

Extend Logical Volume (LVM)

Logical Volume Manager HOWTO: "5.2 Growing your Logical Volume

The e2fsadm command takes care of this for you. However, it may be useful to understand how to do this manually:

If you have room within your Volume Group, this is a one liner:

# lvextend -L+12M /dev/VolGroup00/LogVol00

# lvextend -L+12M /dev/test/HOWTO
lvextend -- rounding size to physical extent boundary
lvextend -- extending logical volume '/dev/test/HOWTO' to 116 MB
lvextend -- doing automatic backup of volume group 'test'
lvextend -- logical volume '/dev/test/HOWTO' successfully extended

5.3 Growing your Volume Group

This is done with the vgextend utility, and is easy as pie. You first need to create a physical volume. This is done with the pvcreate utility. With this tool, you convert any block device into a physical volume.

After that is done, vgextend does the rest:

# pvcreate /dev/sda1
pvcreate -- physical volume '/dev/sda1' successfully created
# vgextend webgroup /dev/sda1
vgextend -- INFO: maximum logical volume size is 255.99 Gigabyte
vgextend -- doing automatic backup of volume group 'webgroup'
vgextend -- volume group 'webgroup' successfully extended

Please note that in order to do this, your Volume Group needs to be active. You can make it by executing 'vgchange -a y webgroup'. "

Linux: Adding physical volumes to a volume group

Linux Online - Adding physical volumes to a volume group

Use 'vgextend' to add an initialized physical volume to an existing volume group.

# vgextend my_volume_group /dev/hdc1
hdc1 = new physical volume