Re: Need hlep with LVM -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 12/21/2013 11:25 AM, Roger Heflin wrote:
you will need to run pvscan and determine what the name of the vg is
you want to add the storage to.

to get /dev/sdb5 -> /dev/sdb4 you reworked the partition table (ie
removed the extend partition and made sdb4 a primary?).

if still lost give this info:

fdisk -l /dev/sd[ab]
pvscan
df


[root@box10 bobg]# fdisk /dev/sda    [Fedora-19 system]

Command (m for help): p
Disk /dev/sda: 232.9 GiB, 250000000000 bytes, 488281250 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
Disklabel type: dos
Disk identifier: 0x000b3ca5

Device    Boot     Start       End    Blocks  Id System
/dev/sda1 *         2048   1026047    512000  83 Linux
/dev/sda2        1026048 488280063 243627008  8e Linux LVM



[root@box10 bobg]# fdisk /dev/sdb    [Fedora-20 system of interest]

Command (m for help): p
Disk /dev/sdb: 596.2 GiB, 640135028736 bytes, 1250263728 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
Disklabel type: gpt
Disk identifier: C5B7CE3F-6788-4A3D-B524-16AB72E99EAD

Device           Start          End   Size Type
/dev/sdb1         2048         4095     1M BIOS boot partition
/dev/sdb2         4096      1028095   500M Microsoft basic data
/dev/sdb3      1028096    121792511  57.6G Linux LVM
/dev/sdb4    121792512   1250000000   538G Linux LVM


[root@box10 bobg]# pvscan
  PV /dev/sda2   VG fedora_box10     lvm2 [232.34 GiB / 0    free]
  PV /dev/sdb3   VG fedora_box1000   lvm2 [57.58 GiB / 0    free]
  Total: 2 [289.92 GiB] / in use: 2 [289.92 GiB] / in no VG: 0 [0 ]


[root@box10 bobg]# df -h
Filesystem                       Size  Used Avail Use% Mounted on
/dev/mapper/fedora_box1000-root   34G  4.5G   27G  15% /
devtmpfs                         3.7G     0  3.7G   0% /dev
tmpfs                            3.7G  328K  3.7G   1% /dev/shm
tmpfs                            3.7G  916K  3.7G   1% /run
tmpfs                            3.7G     0  3.7G   0% /sys/fs/cgroup
tmpfs                            3.7G   88K  3.7G   1% /tmp
/dev/sdb2                        477M  101M  347M  23% /boot
/dev/mapper/fedora_box1000-home   17G  7.2G  8.1G  47% /home
192.168.1.8:/home                862G  190G  628G  24% /mnt/HOME1
192.168.1.48://SRVR1             635G   54G  549G   9% /mnt/BOX48


One of the failed attempts:

[root@box10 bobg]# lvextend -l +100%FREE /dev/fedora_box1000/lv_root /dev/sdb4
  Logical volume lv_root not found in volume group fedora_box1000


Perhaps something will be obvious to you?

Thanks,

Bob

--
http://www.qrz.com/db/w2bod
Box10 Fedora-20/64bit Linux

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux