LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-07-2015, 01:57 PM   #1
alvaroiark
LQ Newbie
 
Registered: Jan 2015
Posts: 2

Rep: Reputation: Disabled
Problem with RAID and LVM2 using Lacie Ethernet Drive


Hi everybody, I have a problem in my lacie ethernet disk, I have several private files on it and I am not able to access it. I searched several tutorials but none worked for me.

First tried this (http://www.linuxquestions.org/questi...untu-569507/):
Code:
# aptitude install lvm2
# modprobe dm-mod
# vgscan
Reading all physical volumes. This may take a while ...
Stopped here

Then I tried another how to:
Code:
# aptitude install mdadm
Code:
# sfdisk -l /dev/sdb
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util sfdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sdb: 243201 cylinders, 255 heads, 63 sectors/track
Warning: The partition table looks like it was made for C/H/S=*/256/63 (instead of  243201/255/63). 
For this listing I'll assume that geometry.
Unit = cylinders of 8257536 bytes, blocks de 1024 bytes, counting from 0

   Device Boot Start End #cyls #blocks Id System
/dev/sdb1          0+ 242251- 242252- 1953514583+  ee  GPT
/dev/sdb2          0       -       0          0    0  Empty
/dev/sdb3          0       -       0          0    0  Empty
/dev/sdb4          0       -       0          0    0  Empty
Code:
# mdadm --assemble --run /dev/md0 /dev/sdb8
mdadm: no recogniseable superblock on /dev/sdb8
mdadm: / dev / sdb8 has no superblock - assembly aborted
I stopped here


Now do not know what to do, I've listed the partitions with lvmdiskscan, returned this:
Code:
   /dev/ram0 [64.00 MiB]
   /dev/ram1 [64.00 MiB]
   /dev/root [292.36 GiB]
   /dev/ram2 [64.00 MiB]
   /dev/ram3 [64.00 MiB]
   /dev/ram4 [64.00 MiB]
   /dev/ram5 [64.00 MiB]
   /dev/sda5 [5.73 GiB]
   /dev/ram6 [64.00 MiB]
   /dev/ram7 [64.00 MiB]
   /dev/ram8 [64.00 MiB]
   /dev/ram9 [64.00 MiB]
   /dev/ram10 [64.00 MiB]
   /dev/ram11 [64.00 MiB]
   /dev/ram12 [64.00 MiB]
   /dev/ram13 [64.00 MiB]
   /dev/ram14 [64.00 MiB]
   /dev/ram15 [64.00 MiB]
   /dev/sdb1 [1.00 MiB]
   /dev/sdb2 [192.00 MiB]
   /dev/sdb3 [1.00 MiB]
   /dev/sdb8 [1.82 TiB] LVM physical volume
   1 disk
   20 partitions
   0 LVM physical volume whole disks
   1 LVM physical volume
Code:
# pvscan
  PV /dev/sdb8                      lvm2 [1,82 TiB]
  Total: 1 [1,82 TiB] / in use: 0 [0   ] / in no VG: 1 [1,82 TiB]
Code:
# lvscan
Returned nothing

As you can see the /dev/sdb8 is what I need to recover.
Does anyone have any idea what I can do? I need of these files.
 
Old 01-08-2015, 08:27 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
First see what's on the disk:

Code:
parted /dev/sdb print
 
Old 01-08-2015, 09:40 AM   #3
alvaroiark
LQ Newbie
 
Registered: Jan 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
First see what's on the disk:

Code:
parted /dev/sdb print
Hi smallpond, follow the result:

Code:
Model: ATA ST2000DM001-1CH1 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/4096B
Partition table: gpt

Number  Start   End     Size     File system          Name         Flags
 1      1049kB  2097kB  1049kB                        grub_core    bios_grub
 2      2097kB  203MB   201MB    ext2                 boot_rescue
 3      203MB   204MB   1049kB   ext2                 nv_data
 4      204MB   1815MB  1611MB   ext2                 root_1       raid
 5      1815MB  3426MB  1611MB   ext2                 root_2       raid
 6      3426MB  4499MB  1074MB   ext3                 var          raid
 7      4499MB  4768MB  268MB    linux-swap(v1)       swap         raid
 8      4768MB  2000GB  1996GB                        user_data    raid
 
Old 01-08-2015, 11:56 AM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
hmmm. The partition is labeled as RAID, but there is no superblock. Which should it be?
 
  


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
Recovery of RAID 1 and LVM2 Volume Problem golden_boy615 Linux - Server 8 07-07-2012 11:46 PM
how can read a lacie raid 1 drive as a singel drive peter100 Linux - Hardware 28 05-28-2012 12:25 PM
Lacie Ethernet Big Disk on Gentoo LemensTS Linux - Newbie 3 07-22-2008 03:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:57 PM.

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