Sponsored Content
Operating Systems HP-UX Recovering files from unbootable disk in HPUX 9 Post 302596568 by admin_xor on Tuesday 7th of February 2012 07:18:22 PM
Old 02-07-2012
What filesystem was it using? VxFS? If so, you might get lucky to access the file system from a Linux system (provided the Linux system has to have FreeVxFS kernel module included). However, if the filesystem itself is corrupted, there's nothing more you can do to get the data. Smilie

Also, you may try SCO UnixWare which is available for Intel platform, freely available to download and try for 30 days. It has VxFS in built. You can run it in VMWare Workstation. But I am not sure how compatible HP-UX's VxFS is with UnixWare's VxFS provided they have their own implementations.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Recovering lost files

I noticed this in a search for more security tools... It IS possible to "undelete" a file; I suppose recover would be a better term for it. I suppose we've all made the boo-boo (that we all hopefully learned from) of deleting a file, and finding that you do not have a backup. I wouldn't... (1 Reply)
Discussion started by: LivinFree
1 Replies

2. HP-UX

Hpux Disk Cloning

hello, Anybody that has already running script or command that can disk clone the hpux machine thanks (2 Replies)
Discussion started by: eykyn17
2 Replies

3. UNIX for Dummies Questions & Answers

recovering files removed with rm

Hello, I was reading the manual on rm and it states that when you use 'rm' the files are usual recoverable, how is this done? Does it assume that a backup system is in place? Cheers Jack (4 Replies)
Discussion started by: jack1981
4 Replies

4. UNIX for Dummies Questions & Answers

Recovering lost folders/files data

Hello, Is there a way to recover data from a SCO UNIXWARE 7.4 operating system without using a tape backup device? We believe there is some data in some directories that was there once; but not anymore, we don't have a backup on tape. So, is there any other solution to recover? Hope... (0 Replies)
Discussion started by: Yorgy
0 Replies

5. Filesystems, Disks and Memory

Is it possible that recovering a disk with jffs2 file system ?

Is it possible that recovering a disk with jffs2 file system ? (1 Reply)
Discussion started by: s. murat
1 Replies

6. Shell Programming and Scripting

Need Script to Use CPUs on a HPUX server to simulate Workload Manager on HPUX.

I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies

7. Emergency UNIX and Linux Support

Unbootable solaris 10 x86

Hi all, I have unbootable Solaris 10 x86 installed on ZFS root file system. on an IDE HDD The bios keep showing the msg DISK BOOT FAILURE , PLEASE INSERT SYSTEM BOOT DISK please note : the HDD is connected properly and recognized by the system is there any guide to recover the system ,... (67 Replies)
Discussion started by: h@foorsa.biz
67 Replies

8. Solaris

System Unbootable - /usr not mounted

Hi admins, I'm having some issues with a Solaris 10 machine. I just rebooted the box after at least 2 years running smooth and now the OS is not comming up. This is what I see in the console (if I press Ctrl^D it loops again): Root password for system maintenance (control-d to bypass): ... (3 Replies)
Discussion started by: verdepollo
3 Replies

9. HP-UX

Unable to add 300gb secondary disk to running 11.11 HPUX system

This has got to be the system from hell. Once again, on the RP4440 (after the supplier replaced the entire box due to the bad RTC battery), finally have it all reloaded with the packages the developers need. The last thing is to add the secondary disk to the OS. BCH sees both OS and secondary... (2 Replies)
Discussion started by: mrmurdock
2 Replies
vxupgrade(1M)															     vxupgrade(1M)

NAME
vxupgrade - upgrade the disk layout of a mounted VxFS file system SYNOPSIS
new_version] rawdev] mount_point DESCRIPTION
prints the current disk layout version number for a VxFS file system or upgrades the file system to a new disk layout. operates on file systems mounted for read/write access: mount_point must be a mounted VxFS file system. You cannot upgrade directly from the oldest disk layout version to the newest disk layout version; you must upgrade to the next level disk layout first. You cannot upgrade directly from the oldest disk layout version to the newest disk layout version; you must upgrade to the next level disk layout first. Only a privileged user can query or upgrade a VxFS file system. When invoked with the option, upgrades the disk layout to the specified version. When invoked without the option, prints the disk layout version number of the file system. To perform an upgrade, freezes the file system, allocates and initializes the new structures, frees the space used by the old structures, and then thaws the file system. This process should not keep the file system frozen for more than a few seconds. employs a lock file on the file system to ensure that only one instance of is running at any time. and cannot run simultaneously, so the lock file also ensures that does not run while a file system reorganization is in progress. When is invoked for an upgrade, it opens the lock file in the root of the file system specified by mount_point. If the lock file doesn't exist, it is created. The fcntl(2) system call is used to obtain a write lock on the file. If the write lock fails, fails, assuming that another or an is running. NOTES Disk layout versions cannot be downgraded. Upgrading to disk layout Version 6 changes all inodes in the file system. A file system with disk layout Version 5 can be mounted and upgraded to Version 6 disk layout. To upgrade from Version 4 disk layout to Version 6, you must upgrade to Version 5 first. This requires two separate invocations of the The upgrade may fail due to lack of free space at each step (see below). Optionally, prior to upgrading a file system to disk layout Version 6, delete all existing Storage Checkpoints. A Storage Checkpoint cre- ated on a file system with a disk layout prior to Version 6 stores a complete copy of the inodes at the time it was taken. Thus, a file system with one Storage Checkpoint takes approximately twice as long to upgrade as a file system without Storage Checkpoints. Conversely, a Storage Checkpoint created on a file system with disk layout Version 6 or later stores only the inodes of files whose data blocks were modified. As a result, the time required to upgrade the disk layout Version in the future is less affected by the number of Storage Check- points on the file system. DIAGNOSTICS returns an exit value of 0 if the upgrade is successful. returns 1 if the upgrade fails due to insufficient free space, returns 32 if the specified mount point is not a VxFS file system, and returns 2 if the upgrade fails for another reason. Options recognizes the following options: Upgrade disk layout to new_version. new_version can be 5 or 6. Use the pathname rawdev as the raw device. This option can be used when cannot determine which raw device corresponds to the mount_point (when is corrupted, for example). Operands recognizes the following operand: mount_point A mounted VxFS file system. Free Space Requirement requires free space on the file system to perform the upgrade; the upgrade may fail if there is not enough free space. It is difficult to determine the exact amount of space required to upgrade a VxFS file system, however, you can estimate the maximum space required. Typically, upgrading a disk layout Version 4 file system to disk layout Version 5 does not require much extra disk space. The space and time required to complete the upgrade increases with the number of extended attributes or hard links in the file system. Typical maximum space to convert to a Version 6 disk layout is at least two additional inodes with one block for every inode. The number of inodes is the sum total of inodes across all filesets in the file system (see the manual page for information on how to obtain the num- ber of inodes in a fileset). Allow at least ten minutes to upgrade for every million inodes in the file system. To ensure that there are 8K extents available, defragment the file system (see the manual page for information on how to obtain the number of free extents in a file system and how to defragment a file system). You cannot upgrade a Version 4 disk layout to Version 6 directly. You must first upgrade from Version 4 to a Version 5 disk layout, and then upgrade to Version 6. The upgrade may fail due to a lack of space at each step. Once a file system has been upgraded to Version 4, it is no longer mountable on HP-UX 10.01 and 10.10. Once a file system has been upgraded to Version 4, it is no longer mountable on: o HP-UX 10.x o HP-UX 11.0 without JFS 3.3 from Application CD Version 4 file systems are mountable on: o HP-UX 11.0 with JFS 3.3 from Application CD o HP-UX 11.1x o HP-UX 11.2x o HP-UX 11.31 You cannot upgrade the root or file systems to Version 4 on an 11.0 system running JFS 3.3 from the Application CD. Additionally, we do not advise upgrading the or file systems to Version 4 on an 11.0 system. These core file systems are crucial for system recovery. The HP- UX 11.0 kernel and emergency recovery media were built with an older version of JFS that does not recognize the Version 4 disk layout. If these file systems were upgraded to Version 4, your system would fail to boot with the 11.0 kernel as delivered or the emergency recovery media. You can, however, upgrade these core file systems to Version 4 on an HP-UX 11.1x system. Disk layout versions cannot be downgraded, for example, you cannot change a file system from disk layout version 4 to disk layout version 3. A file system cannot be upgraded from a Version 3 disk layout to a Version 4 disk layout if its intent log size is less than 256 kilobytes. After upgrading from a Version 2 disk layout, run to convert the inode format to allow growth beyond a two-gigabyte offset. RETURN VALUE
returns the following values: Successful completion. Upgrade failed due to lack of disk space. Some other error occurred. Specified mount_point is not a VxFS file system. FILES
Lock file External quotas file WARNINGS
The HP-UX 11i boot loader requires the boot filesystem (if a vxfs filesystem) to be on disk layout version 5 or less. The boot file system, usually mounted under or , contains the HP-UX kernel you boot from. You must NOT vxupgrade the boot file system to version 6 or above even though your system is running a VxFS version which supports these newer disk layout versions. Otherwise, your system will be unbootable. When you vxupgrade other core file systems such as , , , , care should be taken to ensure that the OE media for system recovery supports a VxFS version that can recognize the new disk layouts. Otherwise, you may not be able to repair these file systems in a recovery shell. SEE ALSO
fsadm_vxfs(1M), mkfs_vxfs(1M), quotaon(1M), vxfsconvert(1M), fcntl(2), fs_vxfs(4), vxfsio(7). vxupgrade(1M)
All times are GMT -4. The time now is 01:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy