Hi everyone,
I have an external hard drive and I accidentally deleted the partition table.
Can I restore my files?
If I try to run the f-disk command this is what it says
Any ideas?
:confused: Hello,
In my Solaris system, I want to resize my mounted home directory slice.
1.I unmount the slice, #umount /export/home
2.Resize the directory #format>partition>
3.#format>label
4.#format>Cannot label disk when partitions are in use as described.
So, How can label ?
Thanks (2 Replies)
Hi Fellows,
I am trying to mirror 2 identical disks on a SUN Ultra 10 machines (with new installation of Solaris 8). In the process, I found 2 issues:
1. prtvtoc /dev/rdsk/c0t0d0s0 | fmthard -s - /dev/rdsk/c0t1d0s0
Result: Disk partitions between the 2 disks do not match up.
2. manually... (2 Replies)
I 'm having problem in importing a zfs pool was getting error device missing and upon further digging found that labels on my disk for zpool are missing
Does anyone know how to recover from it ?
root@essapl020-u006 # zdb -l /dev/dsk/emcpower0c
--------------------------------------------... (0 Replies)
Hello,
I'm brand new to Sun/Solaris.
I have a Sun Blade 150, with SunOS 5.8.
I wanted to make a backup to prevent future data loss, so I put the disk in a normal PC with Windows XP to try to make a backup with Norton Ghost, the disk was detected, but not the file volume, so I place the disk... (6 Replies)
Hi there,
I'm wondering how to display a disk label (why not edit it but I don't need that yet).
I found several commands on forums like disklabel and diskinfo but I can't find them on my system and don't know the package they belong to.
Can you help me?
Cheers
Santiago (2 Replies)
I have a external HD that I can't seem to open. When I try to open it with gparted it says unrecognized disk. When I run gparted from the terminal this is what it says.
~ $ sudo gparted
======================
libparted : 2.2
======================
/dev/sdb: unrecognised disk label
When I... (18 Replies)
Hi there,
I am trying to do root volume mirroring on SunFire V210 server. I have two disks in it.First one is c1t0do and second one is c1t1do. Both disks already have partitions in them so I am deleting the partitions of second disk(c1t1do) using format command and selecting cylinder start 0... (2 Replies)
Hi Guys,
Do you have any script to label a disk automatically.
It is part of my script but I am not able to find solution to label this inside script without user intervention. (2 Replies)
I have a B.11.31 U ia64 system where I swremove the disk driver "SerialSCSI-00 B.11.31.1303 PCI-X/PCI-E SerialSCSI" (by mistake). afterwards the system won;t boot because of the missing disk drivers. I'm trying to recover my kernel by using the image HP-ux_11_31_disc_1.iso
Run an Expert... (1 Reply)
Dear Community!
i try to instaled the sco 6 in hp proliant ML350g8
but unsucces,
the trouble when i do instaled it undetected hardisk
please help me
:(:o (7 Replies)
Discussion started by: mnr
7 Replies
LEARN ABOUT LINUX
blockdev
BLOCKDEV(8) System Manager's Manual BLOCKDEV(8)NAME
blockdev - call block device ioctls from the command line
SYNOPSIS
blockdev [-q] [-v] command [command...] device [device...]
blockdev --report [device...]
DESCRIPTION
The utility blockdev allows one to call block device ioctls from the command line.
OPTIONS -V Print version and exit.
-q Be quiet.
-v Be verbose.
--report
Print a report for the specified device. It is possible to give multiple devices. If none is given, all devices which appear in
/proc/partitions are shown. Note that the partition StartSec is in 512-byte sectors.
COMMANDS
It is possible to give multiple devices and multiple commands.
--flushbufs
Flush buffers.
--getalignoff
Get alignment offset.
--getbsz
Print blocksize in bytes.
--getdiscardzeroes
Get discard zeroes support status.
--getfra
Get filesystem readahead in 512-byte sectors.
--getiomin
Get minimum I/O size.
--getioopt
Get optimal I/O size.
--getmaxsect
Get max sectors per request
--getpbsz
Get physical block (sector) size.
--getra
Print readahead (in 512-byte sectors).
--getro
Get read-only. Print 1 if the device is read-only, 0 otherwise.
--getsize64
Print device size in bytes.
--getsize
Print device size (32-bit!) in sectors. Deprecated in favor of the --getsz option.
--getss
Print sectorsize in bytes - usually 512.
--getsz
Get size in 512-byte sectors.
--rereadpt
Reread partition table
--setbsz bytes
Set blocksize.
--setfra sectors
Set filesystem readahead (same like --setra on 2.6 kernels).
--setra sectors
Set readahead (in 512-byte sectors).
--setro
Set read-only.
--setrw
Set read-write.
AUTHOR
blockdev was written by Andries E. Brouwer and rewritten by Karel Zak.
AVAILABILITY
The blockdev command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
Aug 2010 BLOCKDEV(8)