LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2017, 07:28 AM   #1
BigC07
LQ Newbie
 
Registered: Mar 2017
Posts: 3

Rep: Reputation: Disabled
SDB


Hello,

I am running CloudLinux and I am trying to access our additional storage on the server. I have setup two RAID partitions, I can access SDA but I cannot access SDB, can someone tell me how to access the 5.5 TB of storage? These are new disk in the system, I can reformat these disk if it will speed up the process. Please let me know if you need anymore info. Thanks for the help in advance!

Code:
[root@clbackup /]# mount /dev/sdb3 /DISK2
mount: unknown filesystem type 'LVM2_member'
Code:
[root@clbackup /]# fdisk -l
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sda: 249.5 GB, 249510756352 bytes, 487325696 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 label type: gpt


#         Start          End    Size  Type            Name
 1         2048       411647    200M  EFI System      EFI System Partition
 2       411648      2508799      1G  Microsoft basic
 3      2508800    487323647  231.2G  Linux LVM
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sdb: 5999.5 GB, 5999532441600 bytes, 11717836800 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 label type: gpt


#         Start          End    Size  Type            Name
 1         2048       411647    200M  EFI System      EFI System Partition
 2       411648      2508799      1G  Microsoft basic
 3      2508800  11717834751    5.5T  Linux LVM
 4  11717834752  11717836766  1007.5K  Linux filesyste

Disk /dev/mapper/cl00-root: 53.7 GB, 53687091200 bytes, 104857600 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 /dev/mapper/cl00-swap: 4294 MB, 4294967296 bytes, 8388608 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 /dev/mapper/cl00-home: 190.2 GB, 190241046528 bytes, 371564544 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 /dev/mapper/cl-swap: 4294 MB, 4294967296 bytes, 8388608 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 /dev/mapper/cl-home: 5940.3 GB, 5940262731776 bytes, 11602075648 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 /dev/mapper/cl-root: 53.7 GB, 53687091200 bytes, 104857600 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
Code:
[root@clbackup ~]# lsblk
NAME          MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda             8:0    0 232.4G  0 disk
├─sda1          8:1    0   200M  0 part /boot/efi
├─sda2          8:2    0     1G  0 part /boot
└─sda3          8:3    0 231.2G  0 part
  ├─cl00-root 253:0    0    50G  0 lvm  /
  ├─cl00-swap 253:1    0     4G  0 lvm  [SWAP]
  └─cl00-home 253:2    0 177.2G  0 lvm  /home
sdb             8:16   0   5.5T  0 disk
├─sdb1          8:17   0   200M  0 part
├─sdb2          8:18   0     1G  0 part
└─sdb3          8:19   0   5.5T  0 part
  ├─cl-swap   253:3    0     4G  0 lvm
  ├─cl-home   253:4    0   5.4T  0 lvm
  └─cl-root   253:5    0    50G  0 lvm
sr0            11:0    1  1024M  0 rom


Code:
[root@clbackup /]# vgs
  VG   #PV #LV #SN Attr   VSize   VFree
  cl     1   3   0 wz--n-   5.46t    0
  cl00   1   3   0 wz--n- 231.18g    0
Code:
[root@clbackup /]# vgdisplay
  --- Volume group ---
  VG Name               cl00
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  4
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               3
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               231.18 GiB
  PE Size               4.00 MiB
  Total PE              59181
  Alloc PE / Size       59181 / 231.18 GiB
  Free  PE / Size       0 / 0
  VG UUID               oB4nJ9-pVvR-r5fp-Nm3W-XTjC-dQsa-VxkF0U

  --- Volume group ---
  VG Name               cl
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  4
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               5.46 TiB
  PE Size               4.00 MiB
  Total PE              1430093
  Alloc PE / Size       1430093 / 5.46 TiB
  Free  PE / Size       0 / 0
  VG UUID               fgZtsb-BcGs-HXWX-LLzW-GTEB-h02w-xjjsqS
Code:
[root@clbackup /]# lvmdiskscan
  /dev/cl00/root [      50.00 GiB]
  /dev/sda1      [     200.00 MiB]
  /dev/cl00/swap [       4.00 GiB]
  /dev/sda2      [       1.00 GiB]
  /dev/cl00/home [     177.18 GiB]
  /dev/sda3      [     231.18 GiB] LVM physical volume
  /dev/cl/swap   [       4.00 GiB]
  /dev/cl/home   [       5.40 TiB]
  /dev/cl/root   [      50.00 GiB]
  /dev/sdb1      [     200.00 MiB]
  /dev/sdb2      [       1.00 GiB]
  /dev/sdb3      [       5.46 TiB] LVM physical volume
  6 disks
  4 partitions
  0 LVM physical volume whole disks
  2 LVM physical volumes

Last edited by BigC07; 03-28-2017 at 07:29 AM.
 
Old 03-28-2017, 10:02 AM   #2
BigC07
LQ Newbie
 
Registered: Mar 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
Can close this topic, I figured out the issue.
 
Old 03-28-2017, 10:12 AM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Hi BigC07 and welcome to LQ.

Very glad you found a solution prior to anyone being able to offer any better suggestions.

What will be helpful to others in LQ if they happen to seek answers for a similar problem would be if you would mark this thread as Solved, using the thread tools, and also posted an update which describes how you solved it.
 
Old 03-28-2017, 10:19 AM   #4
BigC07
LQ Newbie
 
Registered: Mar 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
I ran these commands to mount the drive

Code:
[root@clbackup ~]# modprobe dm-mod
[root@clbackup ~]# vgchange -ay
  3 logical volume(s) in volume group "cl00" now active
  3 logical volume(s) in volume group "cl" now active
[root@clbackup ~]# lvscan
  ACTIVE            '/dev/cl00/swap' [4.00 GiB] inherit
  ACTIVE            '/dev/cl00/home' [177.18 GiB] inherit
  ACTIVE            '/dev/cl00/root' [50.00 GiB] inherit
  ACTIVE            '/dev/cl/swap' [4.00 GiB] inherit
  ACTIVE            '/dev/cl/home' [5.40 TiB] inherit
  ACTIVE            '/dev/cl/root' [50.00 GiB] inherit
[root@clbackup /]# mount /dev/cl/home /STORAGE/

[root@clbackup /]# df -h
Filesystem             Size  Used Avail Use% Mounted on
/dev/mapper/cl00-root   50G   15G   36G  29% /
devtmpfs                48G     0   48G   0% /dev
tmpfs                   48G     0   48G   0% /dev/shm
tmpfs                   48G   58M   48G   1% /run
tmpfs                   48G     0   48G   0% /sys/fs/cgroup
/dev/sda2             1014M  178M  837M  18% /boot
/dev/sda1              200M  9.5M  191M   5% /boot/efi
/dev/mapper/cl00-home  178G  1.9G  176G   2% /home
tmpfs                  9.5G     0  9.5G   0% /run/user/0
/dev/mapper/cl-home    5.5T   33M  5.5T   1% /STORAGE
[root@clbackup /]#
 
  


Reply



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
Can i dd if=/dev/sdb of=/dev/sdc if hdsize(sdb)>hdsize(sdc) & size(sdb)<hdsize(sdc) ? ununun Linux - Software 6 06-28-2011 11:48 AM
[SOLVED] Grub: If exists sdb, then boot sdb, else sda defaultyeti Linux - Desktop 6 06-28-2011 02:38 AM
Hidden sdb nnjond Linux - Newbie 5 05-19-2008 09:53 AM
sda or sdb? stevest SUSE / openSUSE 7 12-18-2007 11:57 AM
sdb or hdb??? NightSky Linux - Newbie 11 08-16-2007 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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