Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 09-20-2004, 12:06 PM   #1
LQ Newbie
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
Hard Drive XFS Partition


I had a mounted partition /dev/hdd1

But it "disappeared" and I used gpart -W /dev/hdd /dev/hdd in order to recreate the partition table.

#fdisk -l /dev/hdd

Disk /dev/hdd: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 * 2 19920 159993460 83 Linux

But now I get the error:

# mount /dev/hdd1 /mnt
mount: /dev/hdd1: can't read superblock

What is to be done? (I would like to keep all the data on my disk!!!)

Old 09-20-2004, 02:52 PM   #2
LQ Guru
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You will have to use xfs_repair. I used it in the past and it worked. I used fdisk or cfdisk to create the partition instead of using gpart because I only have one partition (primary) on it at the time. Though some files maybe in lost+found if you can not find them.

I suggest you copy the files to another drive and reformat that XFS drive. Then move the files back on the XFS drive. After your partition table is fix, you may want to use sfdisk to take a snapshot of your partition table information just in case it happens again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
-=-How do I partition my hard drive-=- Tsukasa7 Linux - Newbie 1 02-10-2005 02:46 PM
Best way to partition my hard drive QzarBaron Linux - General 6 06-23-2004 02:49 AM
New Hard Drive, How to partition Philbert Linux - Newbie 1 01-06-2004 01:16 AM
How do I partition a hard drive? yzrider210 Linux - Newbie 8 12-14-2003 04:07 PM
cannot seem to partition my hard drive boo_reefa Linux - Software 1 06-16-2001 07:48 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration