Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0d0 <DEFAULT cyl 9726 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
1. c1d1 <drive type unknown>
/pci@0,0/pci-ide@1f,1/ide@1/cmdk@1,0
Specify disk (enter its number):
My Doubt is How can I make sure that this is a Faulty Or a Good One?
Have you tried using the HD manufacturer's installation disk to run a disk check? Most manufacturers like Maxtor, Seagate and Western Disigtal have free ISOs of the disk check utilities that you can download from their websites.
I tried that read write and compare test , result is show below
Code:
format> analyze
ANALYZE MENU:
read - read only test (doesn't harm SunOS)
refresh - read then write (doesn't harm data)
test - pattern testing (doesn't harm data)
write - write then read (corrupts data)
compare - write, read, compare (corrupts data)
purge - write, read, write (corrupts data)
verify - write entire disk, then verify (corrupts data)
print - display data buffer
setup - set analysis parameters
config - show analysis parameters
!<cmd> - execute <cmd> , then return
quit
analyze> compare
Ready to analyze (will corrupt data). This takes a long time,
but is interruptable with CTRL-C. Continue? y
Current Defect List must be initialized to do automatic repair.
analyze>
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
I never saw that message. It seems to imply your disk isn't low level formatted but as far as I know, all IDE disks are. Perhaps this disk is just dead. You may want to try the "format" subcommand but the documentation tell it won't work with IDE ...
You can also try using it with Linux or Windows to see what these O/Ses think about the disk.
My HDD is Maxtor, and I downloaded (Programe) Iso image from there site and , done the "Zero Filling".
After that ,with fdisk i created a single partition,
Code:
Searching for disks...done
Total disk size is 9730 cylinders
Cylinder size is 16065 (512 byte) blocks
Cylinders
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===
1 Solaris2 1 9729 9729 100
as next step I tried to mount the device but the result is
Code:
bash-3.00# mount /dev/rdsk/c0d1s0 /mnt/2dHDD/
mount: /dev/rdsk/c0d1s0 not a block device
bash-3.00#
I was assuming that you were asking questions about a Debian distribution, not Solaris, so I apologize for the confusion.
Unfortunately I have not worked with Solaris enough to have opinions or know which file system types are possible. In reading Solaris documentation I found that UFS is the default filesystem, and in efforts to be safe I would recommend using the Solaris Partition type and the UFS filesystem.
But, the good news is that I will now get and install OpenSolaris in efforts to better assist with Solaris questions in the future.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
I would recommend you to use ZFS for your second disk.
Just run the following commands:
Code:
zpool create disk1 c0d1
zfs create disk1/backup
You disk is then available under the /disk1/backup directory.
You should also take some time googling ZFS documentation and blogs to learn about very cool ZFS features, like snapshots, redundancy, compression and the likes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.