08-30-2015
Shouldn't you be using fdisk -l /dev/sda, seeing as /dev/sda1 is itself a partion ?
This User Gave Thanks to Scrutinizer For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I downloaded some applications from CD on a windows2000 PC to a Unix Sco machine using the WS-FTP program.
When I tried to run the applications on the Unix machines I got an error. The files must have been corrupted in the process of transferring files from a Windows 2000 to a Unix Sco... (9 Replies)
Discussion started by: BAM
9 Replies
2. SCO
hi ,
how do i get boot on sco5.04 if it has a kernel corruption .
and no kernel backup . is there any option on the boot : before i hit enter ?
thx
art
:) (3 Replies)
Discussion started by: art_malabanan
3 Replies
3. AIX
I'm getting the following error after we replaced a failed disk in a mirrored logical volume. We cleared the device entry in ODM before adding the new disk but when we create the mirror we get the following error after running lslv.
0516-022 lslv: Illegal parameter or structure value.... (1 Reply)
Discussion started by: Alfredo Jimenez
1 Replies
4. HP-UX
Hello!
Do you know the meaning of...
"crw-rw---- 1 informix informix 64 0x020001 Jan 21 2004 rifxroot"
I don't know what the first "c" means. Furthermor, if I try to copy this file (rifxroot) it appears a message:
"cp: cannot open rifxroot: No such device or address"
I don't... (1 Reply)
Discussion started by: kaugrs
1 Replies
5. UNIX for Dummies Questions & Answers
I've got a backuptape in cpio format that was accidentally overwritten with a very small batch file. As I assume that the cpio header has been overwritten, I cannot extract files from the backup in the conventional manner:
( cpio -itv </dev/rct0
cpio: this is not a cpio file, bad header)
... (0 Replies)
Discussion started by: mart4179
0 Replies
6. Shell Programming and Scripting
KDE's Kontact PIM breaks quoted-printable vcard files because it
linebreaks in the middle of a word. Take this text for example:
NOTE;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:=D7=A9=D7=95=D7=A8=D7=94 =D7=A
8=D7=90=D7=A9=D7=95=D7=A0=D7=94.\n=D7=94=D7=A9=D7=95=D7=A8=D7=94 =D7=94=D7=
... (7 Replies)
Discussion started by: dotancohen
7 Replies
7. Solaris
I was installing sfw sudo and its dependencies (libiconv, libintl, libgcc)on Solaris 10, running on an x86 x4200 and I corrupted some PAM library files. It's a standard Solaris 10 base install, with some added software & libraries from a vendor.
I am on console trying to get root access back,... (1 Reply)
Discussion started by: Mariognarly
1 Replies
8. HP-UX
In my Windows 2003 server machine I have a winrar or winzip file that i around 3GB.
This zip/rar file is ftped to a unix mahine (HPUX) . FTP is successful. But when it get this file to check if its has been ftped correctly, the file is corrupted.
Is there something wrong that i am doing while... (4 Replies)
Discussion started by: maroli
4 Replies
9. Emergency UNIX and Linux Support
Hi all ,
i have an issue in netra 20 server
when i boot the system its getting rebooting
and it is giving tha" /etc/name_to_sysnum " file not found
i done
OK> boot -ar
then also not solved
please can any body send the answer ASAP
regards (3 Replies)
Discussion started by: wkbn86
3 Replies
10. Shell Programming and Scripting
dear all ,
i was trying to run a cron as root , something happened because it displayed
"/tmp/crontabC5a4lB" 14 lines, 495 characters
cron may not be running - call your system administrator
does anyone knows the problems?
thanks
---------- Post updated at 01:05 PM... (2 Replies)
Discussion started by: semaan
2 Replies
LEARN ABOUT DEBIAN
o2image
o2image(8) OCFS2 Manual Pages o2image(8)
NAME
o2image - Copy or restore OCFS2 file system meta-data
SYNOPSIS
o2image [-r] [-I] device image-file
DESCRIPTION
o2image copies the OCFS2 file system meta-data from the device to the specified image-file. This image file contains the file system
skeleton that includes the inodes, directory names and file names. It does not include any file data.
This image file can be useful to debug certain problems that are not reproducible otherwise. Like on-disk corruptions. It could also be
used to analyse the file system layout in an aging file system with an eye towards improving performance.
As the image-file contains a copy of all the meta-data blocks, it can be a large file. By default, it is created in a packed format, in
which all meta-data blocks are written back-to-back. With the -r option, the user could choose to have the file in the raw (or sparse) for-
mat, in which the blocks are written to the same offset as they are on the device.
debugfs.ocfs2 understands both formats.
o2image also has the option, -I, to restore the meta-data from the image file onto the device. This option will rarely be useful to end-
users and has been written specifically for developers and testers.
OPTIONS
-r Copies the meta-data to the image-file in the raw format. Use this option only if the destination file system supports sparse files.
If unsure, do not use this option and let the tool create the image-file in the packed format.
-I Restores meta-data from the image-file onto the device. CAUTION: This option could corrupt the file system.
-i Interactive mode - before writing out the image file print it's size and ask whether to proceed. This setting only applies when '-I'
is not specified. It can be useful when the file system holding the image is low on disk space and the user might need to free up
space once the target image size is calculated.
EXAMPLES
[root@node1 ~]# o2image /dev/sda1 sda1.out
Copies metadata blocks from /dev/sda1 device to sda1.out file
[root@node1 ~] o2image -I /dev/sda1 sda1.out
Use with CAUTION. Copies meta-data blocks from sda1.out onto the
/dev/sda1 device.
SEE ALSO
debugfs.ocfs2(8) fsck.ocfs2(8)
AUTHORS
Oracle Corporation
COPYRIGHT
Copyright (C) 2007, 2010 Oracle. All rights reserved.
Version 1.6.4 September 2010 o2image(8)