LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-07-2014, 02:42 PM   #1
bubaweb
LQ Newbie
 
Registered: Mar 2014
Posts: 3

Rep: Reputation: Disabled
Whezzy : swap_1 doesn't contain a valid partition table


Hi all
very new to linux but with great skill for google help search.
I setup a full working LAMP server with ispconfig and debian wheezy.

Today i installed on my own server the ntfs-3g + firmware-linux-nonfree.

it's a X3200 M2 with 2 HD x 500 GB + RAID Hardware 1.

This is my trouble. After install ntfs-3g I see there is this error in fdisk -l command:

root@macc:~# fdisk -l

Disk /dev/sda: 500.0 GB, 499999834112 bytes
255 heads, 63 sectors/track, 60788 cylinders, total 976562176 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009e1fa

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 499711 248832 83 Linux
/dev/sda2 501758 976560127 488029185 5 Extended
/dev/sda5 501760 976560127 488029184 8e Linux LVM

Disk /dev/mapper/hostxxx--xxx--xxx--xxx-root: 491.2 GB, 491152998400 bytes
255 heads, 63 sectors/track, 59712 cylinders, total 959283200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/hostxxx--xxx--xxx--xxx-root doesn't contain a valid partition table

Disk /dev/mapper/hostxxx--xxx--xxx--xxx-swap_1: 8585 MB, 8585740288 bytes
255 heads, 63 sectors/track, 1043 cylinders, total 16769024 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/hostxxx--xxx--xxx--xxx-swap_1 doesn't contain a valid partition table


I asked to support to check HD, and they say HW is ok.

Any help to understand error ? All is working well...but..
Thx
Ciao
 
Old 03-07-2014, 03:58 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
This is due to the use of LVM, and the message can be ignored. Nothing to do with ntfs-3g.
fdisk expects to be passed a (physical) block device as a parameter - LVM is a software layer that is a block-device "emulator". See the manpage for fdisk, "-l" and see what /proc/partitions offers.
You will often see similar messages if you do "fdisk /dev/sda1" (i.e. use a partition as a paramater rather than device).
 
1 members found this post helpful.
Old 03-07-2014, 04:13 PM   #3
bubaweb
LQ Newbie
 
Registered: Mar 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
This is due to the use of LVM, and the message can be ignored. Nothing to do with ntfs-3g.
fdisk expects to be passed a (physical) block device as a parameter - LVM is a software layer that is a block-device "emulator". See the manpage for fdisk, "-l" and see what /proc/partitions offers.
You will often see similar messages if you do "fdisk /dev/sda1" (i.e. use a partition as a paramater rather than device).
Thx a lot for fast reply and explanation.
If may I ask more, I m pretty sure about no error and different way to show info few days ago. LVM can u give me small hint ?

What i mean, is how to fix or how to be sure that raid will work well ?
You will undersand how much newbe I m.
Thx
Umberto
 
Old 03-09-2014, 11:47 AM   #4
bubaweb
LQ Newbie
 
Registered: Mar 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bubaweb View Post
Thx a lot for fast reply and explanation.
If may I ask more, I m pretty sure about no error and different way to show info few days ago. LVM can u give me small hint ?

What i mean, is how to fix or how to be sure that raid will work well ?
You will undersand how much newbe I m.
Thx
Umberto
I check about LVM, but I'm not sure about ignore error.
I have 2 disk on server, in raid 1. I think I have problem in mirror.
I try to check server disk status, and with fdisk -l I see always not valid partition.

I try (parted) print ->

Model: LSILOGIC Logical Volume (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 256MB 255MB primary ext2 boot
2 257MB 500GB 500GB extended
5 257MB 500GB 500GB logical lvm

There is only ONE disk or what ?
I would like to be sure about raid, and sure it works.
THX
 
  


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
Raid 5 suddenly doesn't contain a valid partition table laughing_man77 Linux - General 1 02-21-2013 10:24 PM
[SOLVED] new hard drive doesn't contain a valid partition table bmaguire Linux - Hardware 8 08-06-2012 01:58 PM
Disk doesn't contain a valid partition table? vihag Linux - General 5 01-16-2012 04:46 PM
Disk doesn't contain a valid partition table baldurpet Linux - Newbie 17 05-10-2009 03:25 AM
Disk doesn't contain a valid partition table expatCM Linux - Hardware 9 10-01-2007 02:38 AM

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

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