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.
Is it possible to do slice disk on same disk with root? The file system using zfs. I want to slice it and format as ufs.
I try on testing server. Unfortunately, the OS is corrupt and cannot boot up. I follow tutorial here.
I have 2 disk only and set as mirror. I not sure can slice same disk or not. Normally from tutorial on the net show only different disk. Please advice.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Sorry, but I'm afraid I can't really understand what you are asking here. Can you try to rephrase it / explain better what is the current situation and what you want to achieve.
As per below, i want make slice and format as ufs.
Code:
AVAILABLE DISK SELECTIONS:
0. c0t50000395F80B51E2d0 <TOSHIBA-AL13SEB600-3703 cyl 64986 alt 2 hd 27 s ec 668>
/pci@8000/pci@4/pci@0/pci@0/scsi@0/iport@f/disk@w50000395f80b51e2,0
1. c0t50000395F80B6146d0 <TOSHIBA-AL13SEB600-3703 cyl 64986 alt 2 hd 27 s ec 668>
/pci@8000/pci@4/pci@0/pci@0/scsi@0/iport@f/disk@w50000395f80b6146,0
Specify disk (enter its number): 0
selecting c0t50000395F80B51E2d0
[disk formatted]
/dev/dsk/c0t50000395F80B51E2d0s0 is part of active ZFS pool rpool. Please see zp ool(1M).
/dev/dsk/c0t50000395F80B51E2d0s2 is part of active ZFS pool rpool. Please see zp ool(1M).
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
partition> print
Current partition table (original):
Total disk cylinders available: 64986 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 64985 558.89GB (64986/0/0) 1172087496
1 unassigned wm 0 0 (0/0/0) 0
2 backup wm 0 - 64985 558.89GB (64986/0/0) 1172087496
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) 0
I want to reduce root to 100G and create slice on part 4 and 5. Is it possible?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.