LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-07-2008, 07:18 AM   #1
ericcarlson
Member
 
Registered: Jan 2002
Posts: 162

Rep: Reputation: 30
Fedora 9 new install - Don't understand how to use /dev/sda2


Hi, I've seen the LVM stuff come in the last few releases but being used to just mounting my pata disks separately where I want have been able to get away with ignoring it - until now. The machine has 2 PATAs, one is 20G and the other 500G. During the installation I took all the default partitioning settings and installed it on the 20G. After installation I created a /data folder and under that Vol1, Vol2 etc (there may be more PATA's later). As I say I know this might seem clunky now but I have been successfully doing it with Redhat since pre-Fedora days. So I used "mount /dev/sdb1 /data/Vol2" fine, that shows the 500G in Vol2, but trying "mount /dev/sda2 /data/Vol1" gives

mount: unknown filesystem type 'lvm2pv'

fdisk /dev/sda shows:

Disk /dev/sda: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xed07ed07

Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 26 2434 19350292+ 8e Linux LVM

df -h shows

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
18G 11G 6.6G 61% /
/dev/sda1 190M 19M 162M 11% /boot
tmpfs 252M 708K 251M 1% /dev/shm
/dev/sdb1 459G 371G 66G 86% /data/Vol2

I know the linux boot + core files are on /dev/sda1 but as you can see I can't see a way of getting at the rest of that disk (/dev/sda2) - or is it being used "automatically" by LVM and I'm not understanding it properly? Thanks...
 
Old 09-07-2008, 07:25 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Try pvscan in conjunction with mount. ie

#pvscan

and

#mount

to see what's what
 
  


Reply



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
mount: Mounting /dev/sda2 on /mnt failed: Invalid argument dohpaz Slackware 7 05-25-2007 02:03 AM
Install Slackware on /dev/sda2 Ruben-18 Slackware - Installation 3 04-04-2006 10:23 AM
connecting external device causes SuSe boot error with /dev/sda2 maxsch LinuxQuestions.org Member Success Stories 3 02-02-2006 01:17 AM
/dev/sda2 gone?? bmayersohn Linux - Hardware 4 12-29-2005 01:32 PM
/dev/sda2 does not exist. aje Slackware 6 07-17-2005 06:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:37 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration