Creation of soft partitions
1. Create on soft partition of 3 gigabytes with name d51 and another with size 1.5G and name d52
# metainit d51 -p d5 3g
d51: Soft Partition is setup
# metainit d52 -p d5 1500m
d52: Soft Partition is setup
2. Check the status of d52 for example
# metastat d52
d52: Soft Partition
Device: d5
State: Okay
Size: 3072000 blocks (1.5 GB)
Extent Start Block Block count
0 6291520 3072000
d5: RAID
State: Okay
Interlace: 32 blocks
Size: 33091584 blocks (15 GB)
Original device:
Size: 33094272 blocks (15 GB)
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s0 330 No Okay Yes
c1t1d0s0 330 No Okay Yes
c1t2d0s0 330 No Okay Yes
c1t3d0s0 330 No Okay Yes
c1t4d0s0 330 No Okay Yes
Device Relocation Information:
Device Reloc Device ID
c1t0d0 Yes id1,sd@SATA_____VBOX_HARDDISK____VB302359a4-9d8f686a
c1t1d0 Yes id1,sd@SATA_____VBOX_HARDDISK____VB5a844d32-bae9afe7
c1t2d0 Yes id1,sd@SATA_____VBOX_HARDDISK____VBb0b0a9e8-72b6d075
c1t3d0 Yes id1,sd@SATA_____VBOX_HARDDISK____VBc7fe9534-5a7df964
c1t4d0 Yes id1,sd@SATA_____VBOX_HARDDISK____VB09918bf7-59adb880
3. Create filesystems
# newfs /dev/md/rdsk/d51
Warning: setting rpm to 60
newfs: construct a new file system /dev/md/rdsk/d51: (y/n)? y
/dev/md/rdsk/d51: 6291456 sectors in 1536 cylinders of 128 tracks, 32 sectors
3072.0MB in 62 cyl groups (25 c/g, 50.00MB/g, 8192 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 102464, 204896, 307328, 409760, 512192, 614624, 717056, 819488, 921920,
5326496, 5428928, 5531360, 5633792, 5736224, 5838656, 5941088, 6043520,
6145952, 6248384
# newfs /dev/md/rdsk/d52
Warning: setting rpm to 60
newfs: construct a new file system /dev/md/rdsk/d52: (y/n)? y
/dev/md/rdsk/d52: 3072000 sectors in 750 cylinders of 128 tracks, 32 sectors
1500.0MB in 33 cyl groups (23 c/g, 46.00MB/g, 11264 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 94272, 188512, 282752, 376992, 471232, 565472, 659712, 753952, 848192,
2167552, 2261792, 2356032, 2450272, 2544512, 2638752, 2732992, 2827232,
2921472, 3015712
4. Then create mountpoints, mount filesystems and check the mount
# mkdir /oradata /oralogs
# mount /dev/md/dsk/d51 /oradata
# mount /dev/md/dsk/d52 /oralogs
# df -k|grep md
/dev/md/dsk/d51 3081231 3089 3016518 1% /oradata
/dev/md/dsk/d52 1488991 1521 1427911 1% /oralogs
Subscribe to:
Post Comments (Atom)
Compressed tar archive
There are some cases when you want to create compressed tar archive but you do not have enough disk space to keep original files and tar arc...
-
To build firewall under AIX is sample, but as each host based firewall should be done careful 1. Prerequisites To start firewall in AIX yo...
-
There are some cases when you want to create compressed tar archive but you do not have enough disk space to keep original files and tar arc...
-
4. Its time for some system administrator tasks. Oracle ASM need special mark of disks will work with 4.1. Because of some reason (i don...
No comments:
Post a Comment