Tuesday, May 13, 2014
Data Structure
Thursday, May 8, 2014
Crunch of hard drive space on your linux machine. Wanted to add new hard drive follow up the below steps (On Virtual Machine)
Step 1: Open
VMware. Select “Edit virtual machine settings”
Step 2: Now click on Add… button.
Step 3: Select “Hard Disk” then “Next”.
Step 4: Independent option can be
check according to the need. Here I am keeping unchecked.
Step 5: Change hard disk size
according to need.
Step 6: Start
the Virtual machine.
Step 7: Open terminal and find
out new raw partition name, as below (In my case it is /dev/sdb)
Step 8: use fdisk /dev/sdb to
create new partition.
Step 9: We created the partition
called /dev/sdb1.
Create one directory under root
mount point.
#mkdir /d01
#mount –t ext3 /dev/sdb1 /d01
O/P Before mounting /d01 filesystem
O/P After mounting /d01 filesystem
NOTE: Be careful while editing /etc/fstab entries. It will cause boot problem (If in-case follow the link solution)
To make it auto mount during the
server boot add below entries to /etc/fstab file.
Eg.
/dev/sdb1 /d01 ext3 defaults 1 2
/dev/sdb1 /d01 ext3 defaults 1 2
Command for unmounting the /d01
mount point
Command to mount: mount /dev/sdb1
--END--
Subscribe to:
Posts (Atom)
-
Oracle's V$ Views The following views are part of the data dictionary. See also Oracle's x$ tables v$archive_dest Shows...
-
1. Malloc in C Language 2. Linked List data structure creation in C Language 3. Character frequency in a String using Jav...
-
Disk space requirements : Application node (Fresh & Visio...