I currently have a Solaris 10 server with the / root file system using SVM. Here is the information of the current setup.
In order to expand the / root file system, I think I'll have to create another mirror set (d7) using another pair of slices (c0t0d0s7, c0t01d0s7). I have read several cases that growfs cannot grow the mounted / file system??
Mount and copy contents
Install bootblock
Update the vfstab and system
Since the boot disk is located on the same disk but different slices (s0 before, s7 now), do i have to make any changes to the boot-device from OBP? (setenv boot-device {dev})
And I have installed the boot block to slice s7 (d7). Slice s0 (d0) should also have a boot block and this would confuse the boot process the slice to boot from. How do overcome this issue?
I think for only expanding the existing / (without freeing the s0 slices) you can just add the two new slices:
All online (growfs should be run during low traffic hours).
Because it is appended to the existing slices, you do not need to install another boot block.
I think for only expanding the existing / (without freeing the s0 slices) you can just add the two new slices:
All online (growfs should be run during low traffic hours).
Because it is appended to the existing slices, you do not need to install another boot block.
Thanks. I wish that method worked, but executing your first step metattach d10 c0t0d0s7 gave me an error saying cannot expand root file system.
I ended up installing virtualbox and tried my method I posted, and with a bit of adjustment (installgrub instead of installboot, update boot archive), it worked out. Below in red is the adjustment I've made.
I've to install Oracle binaries (I'm oracle DBA) and for that I've extend swap space in my home computer. My situation is like this.
# parted -s /dev/sda print free
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sda: 38.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
... (1 Reply)
Hi Guys,
Hope everyone is doing great. We've few servers on HP-UX. I'm not sure of extending file systems in HP-UX. Please help me. It could be helpful If you provide the commmand basing on the details below. Thanks in Advance.
# hostname
*******
# date
Sun Sep 7 14:39:59 EDT 2014
#... (2 Replies)
Hi All,
I have one VG on single PV /dev/sda3 with two LV
Physically after /dev/sda3 i have 40G unallocated
I want to extend /dev/sda3 + 40G and extend its VG, then extend last LV in VG to take new free space
What is correct procedure?
// I cannot create second PV after /dev/sda3 because of... (5 Replies)
Hi All
I want to extend this file system to 120Gb:
df -h /xyz
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d80 98G 35G 62G 37% /xyzand the NetApp admin is going to give me an LUN with 22Gb.
This file system is mounted on:
metastat d80... (1 Reply)
Hi gurus
Im a newbie in solaris..I need to extend file system space in solaris 10 which is using SVM..I have a file system /pin02 which is 93% full n needs to be extended..only 3.6 gb avail space left..the file system is not mirrored...normal ufs file system only..can u please tel me t... (6 Replies)
Hi to all
i want to increase the /usr size.
but, it is mirrored on hdisk0 and hdisk1.
i know that chfs will work, but i am not confident about mirroring.
can anyone tell me the procedure.
thanks (2 Replies)
Hi all,
i need to extend /var file system on my solaris 10 box
/var is part of rootdg
current size 2GB
Required size 6GB
layout mirror
veritas 4.1
solaris 5.10
pls let me know the steps and the procedure to follow.
regards
Ajay S (2 Replies)
Hi friends,
In my case, there are serveral PCs running Linux in a LAN.
I would like to to mount the directory /A_river of machine-A to the file system of another machine machine-B so that I can access files in that directory.
I do not know how to do this. The situation is complicated by... (2 Replies)
Hello friends i'm trying to extend iptables to include a target by which we can change the packet type field of a packet.
For this i created a kernel module and a userspace extension.
Now i face the problem that when i try to invoke iptable with the target i created i get an error message saying... (1 Reply)
Hi everybody,
I have to write a module for matching in netfilter , extending the netfilter but I'm facing some problems can somebody guide me in that. I know that I need to write matching module working in kernel space and a program in userspace. I went through the HOWTO on netfilter-hacking but... (0 Replies)