Can someone please tell me how to format a new disk to ZFS format?
I have a Sun v240 with Solaris 10 update 8 installed on a single 73GB harddisk. Everything is working fine. I just purchased a another identical harddisk online. I plugged the disk into my v240 and ran 'devfsadm' and solaris found the new disk. I want to add this disk to my existing ZFS pool as a mirror. However, this disk was originally formatted with a UFS file system. So when I run:
zpool attach rpool c1t0d0 c1t1d0I get:
/dev/dsk/c1t1d0s0 contains a ufs filesystem.I understand the error message but I don't know how to format the disk to have a ZFS file system instead. Note that I am extremely new to Solaris, ZFS, and pretty much everything Sun - I bought this server on eBay so that I could learn more about it. It's been pretty fun so far but need some help here and there.
For some reason I can't find a single hit on Google telling me how to just simply format a disk to ZFS. Can I use the 'format' command? Maybe you don't "format" disks for ZFS? I have no idea. I might not have the right terminology. If so, apologies. Can anyone help me on this?
Thanks a lot! =D
Jonathon
Yes, you were right. The partitions were totally different. Here is what I saw:
For c1t0d0:
# format
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 14086 68.35GB (14087/0/0) 143349312
1 unassigned wm 0 0 (0/0/0) 0
2 backup wm 0 - 14086 68.35GB (14087/0/0) 143349312
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0For c1t1d0:
# format
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 12865 62.43GB (12866/0/0) 130924416
1 swap wu 12866 - 14079 5.89GB (1214/0/0) 12353664
2 backup wm 0 - 14086 68.35GB (14087/0/0) 143349312
3 unassigned wm 14080 - 14086 34.78MB (7/0/0) 71232
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0So then I ran the following:
# prtvtoc /dev/rdsk/c1t0d0s0 | fmthard -s - /dev/rdsk/c1t1d0s0
fmthard: New volume table of contents now in place.Then I rechecked the partition table for c1t1d0:
# format
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 14086 68.35GB (14087/0/0) 143349312
1 unassigned wu 0 0 (0/0/0) 0
2 backup wm 0 - 14086 68.35GB (14087/0/0) 143349312
3 unassigned wu 0 0 (0/0/0) 0
4 unassigned wu 0 0 (0/0/0) 0
5 unassigned wu 0 0 (0/0/0) 0
6 unassigned wu 0 0 (0/0/0) 0
7 unassigned wu 0 0 (0/0/0) 0Woo-hoo!! It matches the first disk now! :)
Then I tried to attach the new disk to the pool again:
# zpool attach -f rpool c1t0d0s0 c1t1d0s0
Please be sure to invoke installboot(1M) to make 'c1t1d0s0' bootable.
Make sure to wait until resilver is done before rebooting.
bash-3.00# zpool status
pool: rpool
state: ONLINE
status: One or more devices is currently being resilvered. The pool will
continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
scrub: resilver in progress for 0h0m, 0.40% done, 0h58m to go
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c1t0d0s0 ONLINE 0 0 0
c1t1d0s0 ONLINE 0 0 0 30.3M resilvered
errors: No known data errorsBoo-yah!!! ++Does little dance++
Then, after resilvering completed I ran:
# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c1t1d0s0I think I'm starting to understand this now. I also shutdown the server to the OpenBoot prompt and booted off of the new disk and it worked! Also, my bootup time to login has drastically decreased - I would say it's about half the time it was before I added the mirror disk. So I believe the server is properly reading from both disks simultaneously in order to get better bandwidth. Cool! :)
Thanks for the help!
Jonathon
Similar Messages
-
Someone changed the settings on my iPhone so that I can no longer update or add apps. The icon no longer appears. Can someone please tell me how to add that back?
I should have added that the iTunes app is not displayed on my phone in order for me to add the apps.
-
I would like to see the same mails in all my apple devices. Can someone please tell me how? My calendar and contacts sync but my mailboxes dont...
I would like to see the same mails in all my apple devices.
On iOS devices tap Settings > iCloud
Make sure Mail is swtiched ON.
Apple - iCloud - Learn how to set up iCloud on all your devices. -
In the libary of iPhoto I do have double pictures only in the year 2006. Can someone please tell me how to remove the double pictures. I did rebuilt the libary but that solution did not help me any further.
I think the warning is very clear.
What warning? Where do you say that this plan you suggest will lose at least some, and possibly a whole lot of metadata, plus the original files of edited photos. This is significant dataloss. And you should warn people that this is the case.
While your metadata and originals may not be important to you, that is not necessarily the case for other users.
Fourthly, and last, cleaning the iPhoto library should be done at least once per year
This is nonsense. The iPhoto Library has no need of "cleaning" and certainly not in any way that trashes a whole lot of data.
I'm very impressed that you assess the application based on the sound of the name. It's not a common way to review applications, but I'm sure it has some merit.
FWIW it has been recommended on this - and other - sites for many years and has proven safe and effective.
Regards
TD -
I just got my Ipad and I can not download apps. I get a message saying my Apple ID has been disabled. I have reset my password, I can access itunes and icloud but still can not download apps. Can someone please tell me how to get my ID activated? TY
Depending on why it's been disabled you might be able to re-enable it via this page : http://appleid.apple.com, then 'reset your password'
Or you might need to contact Apple : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page
If it then works on your computer's iTunes but not your phone/iPad then try logging out of your account on the phone/iPad by tapping on your id in Settings > Store (Settings > iTunes & App Stores on iOS 6) and then log back in and see if that 'refreshes' the account on it -
I have an iphone 4 and cannot get my mute off when I am using Facetime. I can hear them, but they can't hear me. When I touch the mute button, nothing happens. Can someone please tell me how to fix this?
the mute button is a switch you need to flip, not touch. if you look at it and see color, its on.
-
I am having 4S. It is showing the IOS 6 update, but whenever I try to update it, it shows an error message saying " It cannot be downloaded at this time". Can someone please tell me how to update it?
Make sure you have the Latest version of iTunes on your computer.
Connect to iTunes on the computer you usually Sync with and “ Check for Updates “...
See the Using iTunes Section Here...
How to update your iPhone, iPad, or iPod touch -
My iCloud is disabled. I've reset my password numerous times, but that doesn't help. Can someone please tell me how can I log onto my iCloud
If your ID is disabled, you'll have to contact Apple for assistance, either by going to https://expresslane.apple.com, then click More Produces & Services>Apple ID>iTunes Store, App Store or Mac App Store>Disabled Apple ID, or by contacting the Apple account security team: http://support.apple.com/kb/HT5699.
-
TS4006 Can someone please tell me how I use icloud to find my ipad
Can someone please tell me how to use iCloud to find my iPad and lock it out as well?
Peter Stokes 100 wrote:
Simple I was led to believe I could store stuff in iCloud without the need for a Mac thereby making space on my laptop. You live and learn.
You can, iPhones/iPads and Macs work, as do PC's once there is an open account.
This is typical Apple to be honest. The only reason I use iTunes is for my iPod. Perhaps I need to find another mp3 player.
You do not need iCloud for iTunes, I am sorry that you misunderstand but iCloud and iTunes do not require each other.
I'm certainly not paying the inflated prices that Apple charge for their laptops that are quite frankly no better than my Dell.
I've had Dells, they are worth what you pay, no more. -
Can someone please tell me how to extend a piece of music that I have created in garageband. I am new to the system and cannot find any info in the help topics. The music is currently only 1 minute and I need it to be 1.39sec to fit in with the film it will be used with in iMovie. Thanks.
Yes, it helps.
You are using a version of the newest GarageBand 10.0, and not GarageBand '11 as in your original post. And I was sending you screenshots from GarageBand '11, LOL!
In GarageBand 10.0 is the end-of-song marker hiding behind the zoom controls. Zoom out as far as possible by shifting the zoom scrollbar to the left. Then you should be able to see a corner of the end-of-song marker peeping out behind the zoom control. Try to grab it with the mouse pointer and shift it to the time you want. -
Can someone please tell me how to fix this?
Something is wrong with my internet like everything is white and is in columns
http://i1015.photobucket.com/albums/af272/FlipGlaze/sadf.jpg
Can someone please tell me how to fix this?
This is happening with almost everywebsite I didnt do anything to settings and it just appeared.Your phone is not charging you. I think you may want to go and change your password on your apple id as it might be comprimised. Also talk to apple about any erronious charges.
-
Can someone please tell me how to remove norton from my Mac.i am using osx 10.5.8
Norton Removal Tool (Symantec Uninstaller):
http://www.symantec.com/business/support/index?page=content&id=TECH103489&locale =en_US -
Can someone please tell me how to remove music just from my device please? Many thanks. Steve.
>> then I get a completely blue screen.
That probably means that you're not looking at a bug in Photoshop, but a problem with a driver - and the most likely cause would be your video card driver.
And sure enough, your video card driver is almost 2 years out of date.
Please go to NVidia's website and get the latest driver - then follow their directions for installation (so you don't get bits of old driver left over). -
Can someone please tell me how to view a newly created Genius playlist (not via Up Next, but as a stand-alone playlist)? Thank you!
>> then I get a completely blue screen.
That probably means that you're not looking at a bug in Photoshop, but a problem with a driver - and the most likely cause would be your video card driver.
And sure enough, your video card driver is almost 2 years out of date.
Please go to NVidia's website and get the latest driver - then follow their directions for installation (so you don't get bits of old driver left over). -
Can someone please tell me how to unlock my ipod
can someone please tell me how to unlock mey ipod
sunni_sylva wrote:
can someone please tell me how to unlock mey ipod
What do you mean and what are you attempting to accomplish? -
Can someone please tell me how to turn OFF Disk Mode on an Ipod Classic?
Can someone please tell me how to turn OFF Disk Mode on an Ipod Classic
Just Reset it like this
Toggle the Hold switch, make sure you dont see the red mark when you do the next step
Reset the iPod -> Press Menu and Center button simultaneously for about 10 secs or till the Apple Logo comes ON
Then release the buttons
Select your preferred language.
Here is the Apple support Article on the 5Rs
http://www.apple.com/support/ipod/five_rs/classic/
Good Luck!
Maybe you are looking for
-
Error during creating solution in solution manager
HI All, While creating solution in solution manager in servide desk message, i am getting error. Please fine the error log as follow. ============================================================================================ Error when processing y
-
How do I get a list of files in the DataDrvUser Dir programatically (no dialogs)
I have version 8.1.1292 of Diadem. I wish to get a list of files in a directory without using a dialog.
-
So I got an old iPhone 3GS from a friend. He said he would reset it for me. He also said that sometimes the bottom of the screen isn't responding (only when you use the keyboard). Now I'm home and I want to set-up the iphone with my icloud and such.
-
So... whatz up with this? Thanks in advance for your help Cheers
-
Hi safari is not opening some webpage showing the error: /usr/local/cache/files/block.html;400 Please help me. thanks