Sponsored Content
Full Discussion: how to reformat a hard disk
Operating Systems Solaris how to reformat a hard disk Post 302131597 by mr_balodoy on Sunday 12th of August 2007 10:37:04 PM
Old 08-12-2007
hi joerg,

I already tried the inputs you gave me and here are the scripts...

# format

Searching for disks...done


AVAILABLE DISK SELECTIONS:
0. c0t1d0 <SUN2.1G cyl 2733 alt 2 hd 19 sec 80>
/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@1,0
1. c0t3d0 <SUN1.05 cyl 2036 alt 2 hd 14 sec 72>
/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@3,0
Specify disk (enter its number):

------------------------------

# ls -ltr /dev/dsk
total 32
lrwxrwxrwx 1 root root 84 Aug 9 1995 c0t3d0s0 -> ../../devicesa
lrwxrwxrwx 1 root root 84 Aug 9 1995 c0t3d0s7 -> ../../devicesh
lrwxrwxrwx 1 root root 84 Aug 9 1995 c0t3d0s6 -> ../../devicesg
lrwxrwxrwx 1 root root 84 Aug 9 1995 c0t3d0s5 -> ../../devicesf
lrwxrwxrwx 1 root root 84 Aug 9 1995 c0t3d0s4 -> ../../devicese
lrwxrwxrwx 1 root root 84 Aug 9 1995 c0t3d0s3 -> ../../devicesd
lrwxrwxrwx 1 root root 84 Aug 9 1995 c0t3d0s2 -> ../../devicesc
lrwxrwxrwx 1 root root 84 Aug 9 1995 c0t3d0s1 -> ../../devicesb
lrwxrwxrwx 1 root root 84 Feb 2 2005 c0t1d0s7 -> ../../devicesh
lrwxrwxrwx 1 root root 84 Feb 2 2005 c0t1d0s6 -> ../../devicesg
lrwxrwxrwx 1 root root 84 Feb 2 2005 c0t1d0s0 -> ../../devicesa
lrwxrwxrwx 1 root root 84 Feb 2 2005 c0t1d0s5 -> ../../devicesf
lrwxrwxrwx 1 root root 84 Feb 2 2005 c0t1d0s4 -> ../../devicese
lrwxrwxrwx 1 root root 84 Feb 2 2005 c0t1d0s3 -> ../../devicesd
lrwxrwxrwx 1 root root 84 Feb 2 2005 c0t1d0s2 -> ../../devicesc
lrwxrwxrwx 1 root root 84 Feb 2 2005 c0t1d0s1 -> ../../devicesb

------------------------------------

# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t3d0s0 47975 41567 1618 96% /
/dev/dsk/c0t3d0s6 211607 182009 8438 96% /usr
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
swap 206024 656 205368 0% /var/tmp
/dev/dsk/c0t3d0s5 96455 59527 27288 69% /export
/dev/dsk/c0t3d0s7 607086 288790 257596 53% /w.local
pylon:/export/home/vega
16068155 9052213 6855261 57% /vega
pylon:/export/home/home1
16068155 9052213 6855261 57% /home

-------------------------------------

# uname -a
SunOS robintc1 5.4 ksam.on494-patch.12/22/94 sun4m sparc

another confusion that I have is that the 2nd disk I put into the sparc computer is labeled to have 2.1G capacity but when I invoke the format command, it only has 1.05G of memory. Do you have any ideas about this?

Just tell me if you need further info about my problem 'coz I really need your input/s...

Thanks and God Bless!!!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Hard Disk Problem

Does anyone know of any commands that offer the same sort of facilities of scandisk on windows. My Linux server (Mandrake 6.2) keeps crashing and gives hard disk errors when I reboot. I've used fcsk to fix any problems that arise but when I use dumpe2fs to display disk information it says that... (1 Reply)
Discussion started by: DGM
1 Replies

2. UNIX for Dummies Questions & Answers

hard disk problems

Hi all I am facing a strange problem. I am using a sun ultra10 spark machine. first i took a 20gb IDE hard disk and installed solaris 5.8. But due to some requirement i have to reinstall the OS but this time solaris 2.6. and now the hard disk capacity is only showing 8gb. Where the 12gb... (3 Replies)
Discussion started by: Prafulla
3 Replies

3. Filesystems, Disks and Memory

hard disk meltdown

I had an issue with a second hard disk in my machine. I have a sparc station running solaris 7. It was working fine but now it wont mount on boot up and when you try to mount it manually it gives an I/O error. I tried a different disk as a control which was fine. What I want to know is if my... (3 Replies)
Discussion started by: Henrik
3 Replies

4. UNIX Desktop Questions & Answers

Hard Disk

I have a cuestion. How Can I to add other hard disk to my computer? I need to configurate anyone? (4 Replies)
Discussion started by: hmaraver
4 Replies

5. UNIX for Dummies Questions & Answers

Hard Disk at 99% Help!

:eek: I use this Solaris to run CMS a call acounting software package for my job. No one could run reports today because it said the this when you logged on "The following file systems are low, and could adversely affect server performance: File system /: 99%full" Can some one please explain... (9 Replies)
Discussion started by: mannyisme
9 Replies

6. UNIX for Dummies Questions & Answers

Reformat WD 500 GB hard drive for Linux machine

Linux Red Hat machine GNOME version 2.16.0 External hard drive is a Western Digital 500 GB My Book Essential. How can I reformat the external hard drive so that I can backup my Linux machine? Thanks (1 Reply)
Discussion started by: jm4smtddd
1 Replies

7. SCO

declare disk driver for IDE hard disk

hi I've a fresh installation of SCO 5.0.7 on the IDE hard disk. For SCSI hard disk I can declare, for example blc disk driver using: # mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies

8. Red Hat

Need help for getting hard-disk traces

When we write a programme,we declare variables and compiler allocates memory to them.I want to get access to the physical block number of hard-disk where actually the data is stored by the programme " Some one help me out... (1 Reply)
Discussion started by: nagraz007
1 Replies

9. UNIX for Advanced & Expert Users

Need help for getting hard-disk traces

When we write a programme,we declare variables and compiler allocates memory to them.I want to get access to the physical block number of hard-disk where actually the data is stored by the programme " Some one help me out... (3 Replies)
Discussion started by: nagraz007
3 Replies

10. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies
isohybrid(1)						      General Commands Manual						      isohybrid(1)

NAME
isohybrid -- Post-process an ISO 9660 image generated with mkisofs or genisoimage to allow hybrid booting as a CD-ROM or as a hard disk. SYNOPSIS
isohybrid [OPTIONS] <boot.iso> DESCRIPTION
The isohybrid utility modifies a an ISO 9660 image generated with mkisofs, genisoimage, or compatible utilities, to be bootable as a CD-ROM or as a hard disk. OPTIONS
-h <X> Number of default geometry heads -s <X> Number of default geometry sectors -e <X>, --entry <X> Specify parititon entry number (1-4) -o <X>, --offset <X> Specify partition offset (default 0) -t <X>, --type <X> Specify MBR ID (default random) -u, --uefi Build EFI bootable image -m, --mac Add Apple File Protocol partition table support --forcehd0 Assume we are laoded as disk ID 0 --ctrlhd0 Assume disk ID 0 if the Ctrl key is pressed --partok Allow booting from within a partition -?, --help Display help -v, --verbose Display verbose output -V, --version Display version information SEE ALSO
mkisofs(1) isohybrid 17 Jan 2014 isohybrid(1)
All times are GMT -4. The time now is 07:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy