PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 24, 2012, 06:07:50 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Add another hard drive ?  (Read 396 times)
bluegroper
Full Member
***
Offline Offline

Posts: 185



« on: December 23, 2011, 12:29:36 AM »

Hi Forum
I have a HDD with valuable data that I need to copy.
How do I add this HDD to an existing PCLOS so that I can do some copying.
Firstly, I've attached the HDD, and PCLOS has detected it correctly.
Code:
# fdisk -l /dev/sdc

Disk /dev/sdc: 250.1 GB, 250058268160 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488395055 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: 0x000300e9

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *          63      208844      104391   83  Linux
/dev/sdc2          208845   488392064   244091610   8e  Linux LVM
But thats all I've done, since wary of using fdisk and ruining all chances of data recovery !
And I have no experience with LVM.

TIA's for any tips and clues.  And yes, also googling as hard as I can.
Logged
bluegroper
Full Member
***
Offline Offline

Posts: 185



« Reply #1 on: December 23, 2011, 01:29:42 AM »

Installed package lvm2.
Is there an easy way to mount /dev/VolGroup00/LogVol00 and /dev/VolGroup00/LogVol01 ?

Code:
# vgdisplay -v VolGroup00
    Using volume group(s) on command line
    Finding volume group "VolGroup00"
  --- Volume group ---
  VG Name               VolGroup00
  System ID            
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               232.78 GiB
  PE Size               32.00 MiB
  Total PE              7449
  Alloc PE / Size       7449 / 232.78 GiB
  Free  PE / Size       0 / 0
  VG UUID               5myixt-k5pR-9DFq-L7y8-N1y3-Ygub-ZXIMmJ

  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol00
  VG Name                VolGroup00
  LV UUID                ZNSzW8-jSRr-p0A0-TgK9-3osE-8eyz-JjSxoa
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                227.03 GiB
  Current LE             7265
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto

  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol01
  VG Name                VolGroup00
  LV UUID                MRkWCA-GU1W-EenK-1r17-e36Z-3dsB-I1jdZw
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                5.75 GiB
  Current LE             184
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto

  --- Physical volumes ---
  PV Name               /dev/sdc2
  PV UUID               oVwans-bpo4-ecFE-FZ9o-yBCd-iMGE-DFAWwE
  PV Status             allocatable
  Total PE / Free PE    7449 / 0
Logged
Vortеx
Hero Member
*****
Offline Offline

Posts: 2010


Vorteks without the Secretary


« Reply #2 on: December 23, 2011, 08:16:10 AM »

I have a HDD with valuable data that I need to copy.

Firstly, I've attached the HDD, and PCLOS has detected it correctly.
I don't catch the problem.
If you can see this disk in a file manager you can copy from it.
 Undecided
Logged
Ramchu
Hero Member
*****
Online Online

Posts: 1423



« Reply #3 on: December 23, 2011, 08:36:23 AM »

Open your file manager and click on the drive .
From there you should be able to find the files that you want to copy,
and then right click and select copy to or left click and drag and drop
the file where you want it.
Logged

AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4084

Have a nice ... night!


« Reply #4 on: December 23, 2011, 08:42:32 AM »

Installed package lvm2.
Is there an easy way to mount /dev/VolGroup00/LogVol00 and /dev/VolGroup00/LogVol01 ?

Code:
# vgdisplay -v VolGroup00
    Using volume group(s) on command line
    Finding volume group "VolGroup00"
  --- Volume group ---
  VG Name               VolGroup00
  System ID            
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               232.78 GiB
  PE Size               32.00 MiB
  Total PE              7449
  Alloc PE / Size       7449 / 232.78 GiB
  Free  PE / Size       0 / 0
  VG UUID               5myixt-k5pR-9DFq-L7y8-N1y3-Ygub-ZXIMmJ

  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol00
  VG Name                VolGroup00
  LV UUID                ZNSzW8-jSRr-p0A0-TgK9-3osE-8eyz-JjSxoa
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                227.03 GiB
  Current LE             7265
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto

  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol01
  VG Name                VolGroup00
  LV UUID                MRkWCA-GU1W-EenK-1r17-e36Z-3dsB-I1jdZw
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                5.75 GiB
  Current LE             184
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto

  --- Physical volumes ---
  PV Name               /dev/sdc2
  PV UUID               oVwans-bpo4-ecFE-FZ9o-yBCd-iMGE-DFAWwE
  PV Status             allocatable
  Total PE / Free PE    7449 / 0

not tested, but as far as I remember PCLinuxOS Control Center -> Local disks should provide full support to LVM partitions, (provided that lvm2 package is installed), I would try to start it and to setup the mount points for Vol00 and Vol01.

AS
Logged
bluegroper
Full Member
***
Offline Offline

Posts: 185



« Reply #5 on: December 23, 2011, 01:56:21 PM »

Unfortunately, it seems this hdd has died.
rip.
Logged
Nish
Sr. Member
****
Offline Offline

Posts: 374



WWW
« Reply #6 on: December 23, 2011, 02:24:40 PM »

Unfortunately, it seems this hdd has died.
rip.

there is always the freezer trick - maybe you can get have Christmas miracle?
Logged

Never borrow time.  The interest will kill you - signed Mastercard & Visa

Embrace the Bird.  http://www.smqlinux.com - an old lady's adventures in linuxdom
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM