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