LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-11-2008, 07:50 PM   #1
geekasaurus
LQ Newbie
 
Registered: Apr 2008
Posts: 12

Rep: Reputation: 0
Easy disk/LVM question


I have just installed Fedora Core 8 on an AMD Geode system. Its quicker than spit on a skittle. Its the only OS on this system.

I have been doing Unix for 25 years, but I know a lot more AIX, HPUX and Solaris than I do Linux.

The OS is installed on an internal 40GB disk. I've also installed a 300GB disk that I want to mount at /mnt1.

The output from fdisk -l is:
========================================================================
[root@hostname]# fdisk -l

Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00029c25

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

Disk /dev/sdb: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000edd54

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 36481 293033601 8e Linux LVM

Disk /dev/dm-0: 338.6 GB, 338698436608 bytes
255 heads, 63 sectors/track, 41177 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800

Disk /dev/dm-1 doesn't contain a valid partition table
[root@hostname]#
======================================================================
Where did disks DM-0 and DM -1 come from?

How do I format and mount /dev/sdb?
I don't need LVM on this system. This system can be 'dumb as a stump' for now.

Can anyone give me a quick-and-dirty overview?
(this would be easy in AIX: I love SMIT)
 
Old 04-11-2008, 11:29 PM   #2
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
Change the type to Linux. You can do that in fdisk or cfdisk.... you apparently already know how to do that since you partitioned it

I am guessing that the dm-0 crap is the lvm device name... but I dont know lvm, and you said it can be dumb as a rock so lets not use it


# Create a filesystem on the device
mkfs.ext3 /dev/sdb1



# Mount it so it is accessable now
mount /dev/sdb1 /mnt

# Make it keep working when you reboot.
# Add this line to /etc/fstab
/dev/sdb1 /mnt reiserfs defaults 1 2
 
  


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
LVM Disk Failure R4z0r Linux - Software 3 09-19-2006 02:32 PM
LVM disk is offline after reboot Lada Red Hat 2 08-20-2006 06:05 PM
Add Disk to LVM Help!! gfem Fedora 2 02-07-2006 04:02 PM
Restoring LVM when a disk fails enygma Linux - General 1 11-13-2004 07:58 AM
Suspend to Disk (Possible with LVM?) dino9832 Linux - Laptop and Netbook 1 10-05-2004 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:57 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