New disk - how to partition?


 
Thread Tools Search this Thread
Operating Systems Solaris New disk - how to partition?
# 1  
Old 07-13-2005
New disk - how to partition?

Have a solaris x86 running solaris 9.
Root disk - logical - mirrored.

I added 2 more disks today - and I have mirrored them using array configuration utility.

I did a reconfiguration boot - and now I can see the logical disk using format:
I then partitioned this the way I wanted (I hope) and l then named and labeled the disk - returned to format menu and verify the setup and saved. But when I do a df -k I cannot see the new partition or disk space..

What have I missed here?

>format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <DEFAULT cyl 4342 alt 2 hd 255 sec 32>
/pci@0,0/pcie11,4080@1/sd@0,0
1. c1t1d0 <DEFAULT cyl 4424 alt 2 hd 255 sec 63>
/pci@0,0/pcie11,4080@1/sd@1,0
# 2  
Old 07-13-2005
You don't mention that you mounted it - which is the only way you would 'see it' with the df -k command.
# 3  
Old 07-13-2005
Sorry...

I have to include this mount somewhere in config file dont I?

I am confused. I laid out the new partition - but never had the option to name the partitions ... ie. /var /export ...

How can I mount the new disk - naming the new partitions as I want them and also have this survice a reboot?
# 4  
Old 07-13-2005
Add the new partition to /etc/vfstab to insure mounting on reboot. Once you have it in there, mount it manually by the following means to insure it will mount on reboot (without having to reboot)

Example:
Let's say your new partition is /u. First, check if there is already a /u directory - if there is anything in that directory, then it will be mounted over so you may want to move it. If there isn't a /u directory, then create it as the mount point (mkdir /u).

Add your partition into /etc/vfstab - change device and mount points to suit your needs
/dev/dsk/c1t1d0s3 /dev/rdsk/c1t1d0s3 /u ufs 2 yes -

Then just run mount /u and df -kl - you should now see a /u mount.

(edited - you may also need to run newfs on the device -
newfs /dev/rdsk/c1t1d0sx where x is the new slice/partition you are creating)
# 5  
Old 07-13-2005
thanks - I have just tried newfs before your reply...
I was then able to mount it - and i have added to /etc/vfstab and performed reboot..

All looks perfect now - Thanks for your help
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

How to partition your disk?

Hello, I am a new member of the forum. I need an idea on how to partition the disk. My situation is as follows: I have two 3TB disks ognuno.In 6TB total then, but I have to do to force a RAID 1 so my space will be 3TB. I'll have to force install RedHat 5.8 and liquids is to be taken in... (4 Replies)
Discussion started by: Joaquin
4 Replies

2. Solaris

Disk partition slice0

Hi Guys, when performing a disk partition, can any file system other than root be giving to slice 0 or must slice0 hold only root? I am confused about this. Any clarification will be greatly appreciated. Thanks Guys (4 Replies)
Discussion started by: cjashu
4 Replies

3. Red Hat

Disk Partition : Skip 1 MB

I want to skip the first cylinder (first 1 MB infact) while I partition my disk using fdisk as it is required that the disk partition to be used (for Oracle RAC Installation) must skip the first 1Mb to avoid overwriting the disk VTOC. The way I am using is: Command (m for help): n Command... (2 Replies)
Discussion started by: jpsingh
2 Replies

4. UNIX for Advanced & Expert Users

Shrink my partition to new disk

I want to backup my partitions by shrinking it my issue is like I want to create a new disk copy from only the used blocks I my current image. How would I redirect the output of resize2fs to new disk and dd the current partition so that I can boot my new image without issues and also without... (3 Replies)
Discussion started by: amol28kulkarni
3 Replies

5. Solaris

Move partition to new disk

Hi, The disks of my servers are getting full and I need to move the /export/home partition on to a new set of disks. I already have 2 mirrored disks and have added 2 more and mirrored them after creating the filesystem on them. Do I just need to edit the /etc/vfstab and point the /export/home... (1 Reply)
Discussion started by: run_time_error
1 Replies

6. Filesystems, Disks and Memory

Partition disk

Hi, Can I partition disk in use or would I damage the file store on it? Regards Mehrdad (1 Reply)
Discussion started by: mehrdad68
1 Replies

7. UNIX for Advanced & Expert Users

partition disk issue

hi guys, I've got a strange issue, may be one of you has experienced this. SunOS 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V440 everything is mirrored. My issue is that I have a umpty directory but seems to have data on. Let me show you # df -h /data Filesystem size used... (10 Replies)
Discussion started by: moustik
10 Replies

8. Solaris

Disk Partition

I have 3 disks to partition in following file system. c1t1d0 = 72gb /prod1 /prod2 /prod3 /prod4 /prod5 I am first time using "format" command to do this. How can i name with specified size. -Adeel (1 Reply)
Discussion started by: deal732
1 Replies

9. UNIX for Dummies Questions & Answers

Disk Partition

Hi All, While my LINUX SERVER installed we didnt' used all the space for partitions. with what tool I can create a new partition or mount point to use the free space. I tried the command fdisk and diskdruid. They are not working. Thanks in advance With Best regards, Varma. (2 Replies)
Discussion started by: jarkvarma
2 Replies

10. UNIX for Dummies Questions & Answers

partition Magic disk

How do I get a partition magic disk or a disk to create a non-DOS partition? :*: c0ldzer0 :*: (4 Replies)
Discussion started by: c0ldzer0
4 Replies
Login or Register to Ask a Question