LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 01-09-2005, 02:01 PM   #1
rudedog830
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
Lvm2 Fc3


I recently installed a clean install of FC3 with the root partition under LVM2. I had a secondary hard drive (dev/hdb) formatted as ext3 that I migrated all the data off. I attempted to add it to the volume group and created a new logical volume. Here are the steps I performed.

1) pvcreate /dev/hdb
2) vgextend VolGroup00 /dev/hdb
3) lvcreate -L+50G -nLogVol02 VolGroup00

When I attempt to mount the volume, I receive the following error:

mount -t ext3 /dev/VolGroup00/LogVol02 /linuxbackup
mount: wrong fs type, bad option, bad superblock on /dev/VolGroup00/LogVol02,
or too many mounted file systems

a file system check produces the following:

/sbin/fsck -n /dev/VolGroup00/LogVol02
fsck 1.35 (28-Feb-2004)
e2fsck 1.35 (28-Feb-2004)
Couldn't find ext2 superblock, trying backup blocks...
fsck.ext3: Bad magic number in super-block while trying to open /dev/VolGroup00/LogVol02

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

What step have I missed in the process?

PVDisplay:
--- Physical volume ---
PV Name /dev/hda2
VG Name VolGroup00
PV Size 153.28 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 4905
Free PE 0
Allocated PE 4905
PV UUID Y0G9hy-yWoX-lqVe-2nI6-euGH-9EiI-eEmDT2

--- Physical volume ---
PV Name /dev/hdb
VG Name VolGroup00
PV Size 74.50 GB / not usable 0
Allocatable yes
PE Size (KByte) 32768
Total PE 2384
Free PE 785
Allocated PE 1599
PV UUID nnuRnA-FrOY-n4Zh-Isdj-uqWc-wuCY-yiK7E8

LVDisplay:
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID 84RI4D-ZlZj-nH2N-b345-7pFE-jcx6-bQGqYP
LV Write Access read/write
LV Status available
# open 1
LV Size 152.25 GB
Current LE 4872
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0

--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID unpvC6-66im-Cxrt-JIaO-C3HY-6BvO-QZn8cI
LV Write Access read/write
LV Status available
# open 1
LV Size 1.00 GB
Current LE 32
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1

--- Logical volume ---
LV Name /dev/VolGroup00/LogVol02
VG Name VolGroup00
LV UUID wBc7tp-cLwX-q9vY-ysIa-UzZO-1MCe-1Eb5By
LV Write Access read/write
LV Status available
# open 0
LV Size 50.00 GB
Current LE 1600
Segments 2
Allocation inherit
Read ahead sectors 0
Block device 253:2
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using LVM2 chandru.in Linux - Hardware 0 08-30-2005 07:33 AM
Lvm2 pritambhavsar Programming 1 03-03-2005 07:22 PM
What to use: lvm2 or md striping fza Linux - General 0 02-24-2005 03:30 AM
LVM2 PV lost in FC3. howto use vgcfgrestore TomF Fedora 0 12-23-2004 11:22 AM
LVM2 RPM Help kwisi Red Hat 0 09-27-2004 04:55 AM


All times are GMT -5. The time now is 12:57 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration