Skip to contentSkip to conversation

MD without LVM : should I reinstall ?

DISCUSSION Thomas Carrié 3 participants 5 messages Mar 17, 2011 – Mar 19, 2011 MD RAID

lore
Share & tools
lore
#0 lore raw

Hello,

My hosting provider has a setup for me a Debian server using md RAID1 but it does not use LVM, should I consider re-install with LVM ?

# mount | grep ' / '
/dev/md0 on / type ext3 (rw,errors=remount-ro)
# fdisk -l

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
...

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       30155   242220006   fd  Linux raid autodetect
/dev/sdb2           30156       30401     1975995    5  Extended
/dev/sdb5           30156       30401     1975963+  82  Linux swap / Solaris

Disk /dev/sda: 250.1 GB, 250059350016 bytes
...

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       30155   242220006   fd  Linux raid autodetect
/dev/sda2           30156       30401     1975995    5  Extended
/dev/sda5           30156       30401     1975963+  82  Linux swap / Solaris

Disk /dev/md0: 248.0 GB, 248033181696 bytes
...
Disk /dev/md0 doesn't contain a valid partition table

Thanks for your feedback

Signature · 5 lines
Thomas Carrié
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw
Quoted 27 lines · Thomas Carrié

Hello,

My hosting provider has a setup for me a Debian server using md RAID1 but it does not use LVM, should I consider re-install with LVM ?

# mount | grep ' / '
/dev/md0 on / type ext3 (rw,errors=remount-ro)
# fdisk -l

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
...
  Device Boot      Start         End      Blocks   Id  System /dev/sdb1   *           1       30155   242220006   fd  Linux raid autodetect /dev/sdb2           30156       30401     1975995    5  Extended /dev/sdb5           30156       30401     1975963+  82  Linux swap / Solaris

Disk /dev/sda: 250.1 GB, 250059350016 bytes
...
  Device Boot      Start         End      Blocks   Id  System /dev/sda1   *           1       30155   242220006   fd  Linux raid autodetect /dev/sda2           30156       30401     1975995    5  Extended /dev/sda5           30156       30401     1975963+  82  Linux swap / Solaris

Disk /dev/md0: 248.0 GB, 248033181696 bytes
...
Disk /dev/md0 doesn't contain a valid partition table

Quoted 8 lines

Thanks for your feedback
--
Thomas Carrié
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Of course not. If you wanted LVM you'd switch to it. If you don't know if you want it, then obviously you don't need it.

Jesus.

// M
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 38 lines · On Jueves 17 Marzo 2011 23:33:02 usted escribió:
Quoted 29 lines · Thomas Carrié

Hello,

My hosting provider has a setup for me a Debian server using md RAID1 but it does not use LVM, should I consider re-install with LVM ?

# mount | grep ' / '
/dev/md0 on / type ext3 (rw,errors=remount-ro)
# fdisk -l

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
...
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 30155 242220006 fd Linux raid
autodetect /dev/sdb2 30156 30401 1975995 5
Extended /dev/sdb5 30156 30401 1975963+ 82 Linux
swap / Solaris

Disk /dev/sda: 250.1 GB, 250059350016 bytes
...
Device Boot Start End Blocks Id System
/dev/sda1 * 1 30155 242220006 fd Linux raid
autodetect /dev/sda2 30156 30401 1975995 5
Extended /dev/sda5 30156 30401 1975963+ 82 Linux
swap / Solaris

Disk /dev/md0: 248.0 GB, 248033181696 bytes
...
Disk /dev/md0 doesn't contain a valid partition table

Quoted 7 lines

Thanks for your feedback
--
Thomas Carrié
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 2 lines

Of course not. If you wanted LVM you'd switch to it. If you don't know if you want it, then obviously you don't need it.

Hello,

Have a look at the command output : "Disk /dev/md0 doesn't contain a valid partition table"

Is it safe to ignore this warning ?

Quoted 4 lines

Jesus.

// M

Signature · 5 lines
Thomas Carrié
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw
Quoted 50 lines · Thomas Carrié
Quoted 38 lines · On Jueves 17 Marzo 2011 23:33:02 usted escribió:
Quoted 29 lines · Thomas Carrié

Hello,

My hosting provider has a setup for me a Debian server using md RAID1 but it does not use LVM, should I consider re-install with LVM ?

# mount | grep ' / '
/dev/md0 on / type ext3 (rw,errors=remount-ro)
# fdisk -l

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
...
  Device Boot      Start         End      Blocks   Id  System /dev/sdb1   *           1       30155   242220006   fd  Linux raid autodetect /dev/sdb2           30156       30401     1975995    5 Extended /dev/sdb5           30156       30401     1975963+  82  Linux swap / Solaris

Disk /dev/sda: 250.1 GB, 250059350016 bytes
...
  Device Boot      Start         End      Blocks   Id  System /dev/sda1   *           1       30155   242220006   fd  Linux raid autodetect /dev/sda2           30156       30401     1975995    5 Extended /dev/sda5           30156       30401     1975963+  82  Linux swap / Solaris

Disk /dev/md0: 248.0 GB, 248033181696 bytes
...
Disk /dev/md0 doesn't contain a valid partition table

Quoted 7 lines

Thanks for your feedback
--
Thomas Carrié
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Quoted 2 lines

Of course not. If you wanted LVM you'd switch to it. If you don't know if you want it, then obviously you don't need it.

Hello,

Have a look at the command output : "Disk /dev/md0 doesn't contain a valid partition table"

Is it safe to ignore this warning ?

Quoted 1 line
Quoted 7 lines
Quoted 3 lines

Jesus.

// M

--
Thomas Carrié

Sorry for the rude response,

AFAIK you'll see that "warning" if you use LVM (I see it in my setup), as LVM isn't a file system per se.

// Mathias
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 1 line · Mathias Burén

On 18 March 2011 20:59, Thomas Carrié<[email protected]> wrote:

[...]

Quoted 4 lines
Quoted 4 lines

Have a look at the command output : "Disk /dev/md0 doesn't contain a valid partition table"

Is it safe to ignore this warning ?

[...]

Quoted 3 lines

AFAIK you'll see that "warning" if you use LVM (I see it in my setup), as LVM isn't a file system per se.

I've a feeling that message appears with any kernel that supports general partitionable devices if the device isn't partitioned, e.g. you put a filesystem on your md device. If /dev/md0 isn't meant to be partitioned, it's harmless.

Cheers,

John.

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html