The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 03-10-2009
Ivan45 Ivan45 is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 5
LVM lvcreate don't want to format

Hello,

I would like to create a Lvolume on an already written disk.
Main goal is to NOT format data on this disk. Unfortunately, while trying to mount my LV , I've got this error :
linux-qc44:/ # mount -a
mount: wrong fs type, bad option, bad superblock on /dev/mapper/system-DB,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Anyone have an idea ?

Before doing a mount -a, here's what I did :

linux-qc44:/ # pvcreate /dev/sdb
Physical volume "/dev/sdb" successfully created
linux-qc44:/ # vgcreate system /dev/sdb
Volume group "system" successfully created
linux-qc44:/ # lvcreate -l 100%FREE system -n DB
Logical volume "DB" created
linux-qc44:/ # lvdisplay
--- Logical volume ---
LV Name /dev/system/DB
VG Name system
LV UUID WcEgQK-7xZB-622K-tSu3-x0AQ-Lzhr-fLgHxE
LV Write Access read/write
LV Status available
# open 0
LV Size 1020.00 MB
Current LE 255
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0