[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Parted 1.7.1 with /dev/mapper devices.
From: |
Debarshi 'Rishi' Ray |
Subject: |
Parted 1.7.1 with /dev/mapper devices. |
Date: |
Mon, 18 Sep 2006 21:56:15 +0000 |
http://bugzilla.gnome.org/show_bug.cgi?id=317262
This is in reference to the above bugzilla entry.
I created a volume group called 'devel' on a old 10GB hard-drive, and
added 2 logical volumes, each 12MB and having a ext3 filesystem, to
it. This hardrive (/dev/hdb) contains nothing else except the logical
volumes. However running parted on /dev/hdb says:
address@hidden ~]# parted /dev/hdb
GNU Parted 1.7.1
Using /dev/hdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Error: Unable to open /dev/hdb - unrecognised disk label.
(parted) quit
Information: Don't forget to update /etc/fstab, if necessary.
address@hidden ~]#
Here are the outputs of pvdisplay and vgdisplay:
address@hidden ~]# vgdisplay
--- Volume group ---
VG Name devel
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 5
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 9.54 GB
PE Size 4.00 MB
Total PE 2442
Alloc PE / Size 6 / 24.00 MB
Free PE / Size 2436 / 9.52 GB
VG UUID r7Depg-uYX8-CsuG-y05j-c6jy-Y28X-1BuCS4
address@hidden ~]# vgdisplay
--- Volume group ---
VG Name devel
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 5
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 9.54 GB
PE Size 4.00 MB
Total PE 2442
Alloc PE / Size 6 / 24.00 MB
Free PE / Size 2436 / 9.52 GB
VG UUID r7Depg-uYX8-CsuG-y05j-c6jy-Y28X-1BuCS4
address@hidden ~]#
Happy hacking,
Debarshi
--
Anything free is worth what you pay for it.
- Parted 1.7.1 with /dev/mapper devices.,
Debarshi 'Rishi' Ray <=