Visit Our UNIX and Linux User Community


Can't mount a partition


 
Thread Tools Search this Thread
Operating Systems AIX Can't mount a partition
# 1  
Old 11-06-2014
IBM Can't mount a partition

Hello, today i get some aix errors (can't lock files and strange things) then i umount FS to do a fsck but i get these errors

Code:
root@omega / > fsck -p /dev/fslv06
The current volume is: /dev/fslv06
Unable to read primary superblock.
Unable to read either superblock.

I readed on this page
Code:
http://unix.ittoolbox.com/groups/technical-functional/ibm-aix-l/super-block-corrupted-1621586

About
Quote:
The backup superblock can be copied over the primary superblock via one of these commands:

lquerypv -h /dev/hdx 1000 100
lquerypv -h /dev/hdx 1f000 100
look in the second column of the first line...do you see 43218765? this is a valid

I have not idea how to proced
Regards

Last edited by rbatte1; 11-07-2014 at 12:29 PM.. Reason: Changed CODE tags to QUOTE for the quoted bit.
# 2  
Old 11-06-2014
Quote:
Originally Posted by thorin666
I have not idea how to proced
The cleanest way is to restore from backup and proceed. Furthermore i suggest to investigate what happened to cause this problem. Normal operation doesn't lead to this type of error. A conceivable common cause is a failing disk which "hdisk type 4" errors have been ignored for too long and now manifest as a "hdisk type 3" error (which is permanent - replace the disk).

In case of absence of a backup (which should lead you to some grave remodeling of your backup strategies and -processes) you might try what the article suggests. You need to locate only one good copy of the superblock to copy it over. Because the superblock is a central datastructure of a filesystem you cannot mount it or do anything else with it as long as you have not corrected this.

I hope this helps.

bakunin
# 3  
Old 11-07-2014
What about Unable to read either superblock. ?
# 4  
Old 11-13-2014
i tried but it did not worked
Code:
root@omega /dev >lquerypv -h /dev/hdx 1000 100 
root@omega /dev >lquerypv -h /dev/hdx 1f000 100 
root@omega /dev >fsck -p /dev/fslv06 

The current volume is: /dev/fslv06
Unable to read primary superblock.
Unable to read either superblock.
root@omega /dev >lquerypv -h /dev/fslv06 1000 100
root@omega /dev >lquerypv -h /dev/fslv06 1f000 100
root@omega /dev >fsck -p /dev/fslv06 

The current volume is: /dev/fslv06
Unable to read primary superblock.
Unable to read either superblock.
root@omega /dev >

does any have a idea?
Regards
# 5  
Old 11-13-2014
Can you read from the device at all?

Code:
dd if=/dev/fslv06 of=/dev/null bs=1024k

# 6  
Old 11-13-2014
Quote:
Originally Posted by achenle
Can you read from the device at all?

Code:
dd if=/dev/fslv06 of=/dev/null bs=1024k

not it did not work

Code:
root@omega /home/root >dd if=/dev/fslv06 of=/dev/null bs=1024k
dd: 0511-051 The read failed.
: The specified device does not exist.
0+0 records in.
0+0 records out.

# 7  
Old 11-14-2014
Quote:
Code:
root@omega /home/root >dd if=/dev/fslv06 of=/dev/null bs=1024k
dd: 0511-051 The read failed.

May i ask if there is any device at all? what does "lsvg -l" say?

And another thing: have you issued this command exactly as you have written:

Code:
lquerypv -h /dev/hdx 1000 100

??

Of course you need to lquerypv not a "/dev/hdx" but your device in question, "/dev/fslv06", yes?

One more thing: please present your data COMPLETELY, with any (diagnostic) output. "didn't work" is less than no information at all and since you - sitting in front of your screen and seeing everything - are not able to diagnose your problem correctly how are we supposed to do it with even less information than you have? "lquerypv" must have had some output, at least some diagnostic message. Post that instead of "didn't work" which can mean anything and then some.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:

Previous Thread | Next Thread
Test Your Knowledge in Computers #600
Difficulty: Medium
Functions in C do not need be declared before they can be used.
True or False?

10 More Discussions You Might Find Interesting

1. OS X (Apple)

Can I mount partition at given dir path

Hi, In Linux, I had modified fstab file which used to mount ~/Music, ~/Pictures, etc with disk partitions containing corresponding content or binding directory located at other partition. But I am wondering can I do same in El-Capitan as well? No linking! /media/L-Store/Desktop/Documents ... (0 Replies)
Discussion started by: ezee
0 Replies

2. UNIX for Dummies Questions & Answers

Mount UEFI partition

I want to gain read/write access to a Windows 8 partition from a linux live cd. Prior to Windows 8, I used ntfs-3g to mount the partition from the command line. The "Fdisk -l" command does not seem to be able to read efi partitions. There must be some new strategy for linux users. This is... (6 Replies)
Discussion started by: jamarsh
6 Replies

3. UNIX for Dummies Questions & Answers

mount extended partition

Hello, Im new here, and may be my question is stupid, but... Today I run PGP Desktop decript on my 2nd partition ( D:\ ) and when decript finish, I restart my PC.Now when I try to open D:\ its give me: D:\ is not accessable and I lose my files :( So I load Linux live CD ( knoppix ) and try to... (1 Reply)
Discussion started by: mrowcp
1 Replies

4. Red Hat

Grub Error 17: Cannot mount selected partition.

I dualboot Ubuntu and Fedora in one hard drive. Below are the scenario. First, installed Ubuntu 10.4 on the entire disk (40GiB of size). Then, shrink the Ubuntu installation to equal size to free up space for fedora. Second, installed Fedora 13 using the option "Use free space on selected... (2 Replies)
Discussion started by: etcpasswd
2 Replies

5. Solaris

can not mount the selected partition

Dear Brothers First i installed suse linux with the following partition. my hd0 size is 75gb hdc1 swap 1 gb hdc2 native linux 39gb For the rest of the 35 gb i did not create any partition. so i planned to install solaris 10x86 on that free space. When i installed the solaris i... (1 Reply)
Discussion started by: sayed_021
1 Replies

6. UNIX for Dummies Questions & Answers

I've created a partition with GNU Parted, how do I mount the partition?

I've created a partition with GNU Parted, how do I mount the partition? The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards. Thanks, --Todd (1 Reply)
Discussion started by: jtp51
1 Replies

7. SCO

/ partition is mounted but not present in mount

Hello , I 've got a problem with the root partition on my SCO 5.0.5 . When I check the disk with df or mount , I can 't see the root filesystem . # mount /stand on /dev/boot read only on Tue Sep 05 16:13:51 2006 /home on /dev/home read/write on Tue Sep 05 16:14:41 2006 But , if I try... (3 Replies)
Discussion started by: npn35
3 Replies

8. Solaris

how to mount other partition?

dear all, that is my problem : c0d0p1 is nt, c0d0p2 is solaris and other on extended partition is pcfs, so how can i mount it somewhere? because i dont know which one connect from raw to block dev. /dev/rdsk/c0d0p? any help would be great... :) (6 Replies)
Discussion started by: stdout
6 Replies

9. Solaris

can't mount a partition

Hello, I have a problem on my sun station, that run solaris7. To free temporarly a little space on /, I moved a few empty folders (mnt, net, awk, tftpboot) to the /home partition. Unfortunately the system froze just after this...maybe I should not have move this files, I don't know, I am a... (3 Replies)
Discussion started by: nabulus
3 Replies

10. UNIX for Dummies Questions & Answers

How to mount fat16 partition

Hello, I am trying to mount a FAT16 and FAT32 partition on an already installed Redhat system. I have tried to edit the fstab and mtab, and to put in the data I got from fdisk, but it just says cannot find it. The information given by fdisk on /dev/hda is: Device Boot Start ... (4 Replies)
Discussion started by: ghoti
4 Replies

Featured Tech Videos