Adding a filesystem.


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Adding a filesystem.
# 1  
Old 08-25-2008
Adding a filesystem.

Hi All!
I need to create a new filesystem /u01 , using the existing space and giving 100GB space to /u01.

I can allocate 100Gb from / which is currently 145GB.

Following is the screen shot of my df command.

Code:
[root@localhost ~]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup_ID_18293-LogVol4
                     153624628    449668 145371264   1% /
/dev/sda3             10278336     64824   9691400   1% /boot
none                   4673216         0   4673216   0% /dev/shm
/dev/mapper/VolGroup_ID_18293-LogVol5
                      20384396     77920  19271008   1% /tmp
/dev/mapper/VolGroup_ID_18293-LogVol8
                      50766508   2748568  45439100   6% /usr
/dev/mapper/VolGroup_ID_18293-LogVol7
                      20609660    261064  19301660   2% /var
/dev/mapper/VolGroup_ID_18293-LogVolHome
                      19739316    191408  18545208   2% /home

I googled , but am a little confused on the steps I need to follow.
Can some one please send a link or the steps that I need to follow.

Thanks for all the help!

nua7
# 2  
Old 08-25-2008
As I know to reallocate disk space on your root filesystem using LFM lvextend/lvreduce you will need to boot from emergency CD because filesystem needs to be unmounted first for this operation. As this is root filesystem, it cannot be unmounted.
# 3  
Old 08-25-2008
Thanks a lot! I would be re-installing linux to achieve this.

nua7
# 4  
Old 08-25-2008
I heard something about ext2live patch for ext2, that allows unmounting to be done on them. Not sure about ext3.
# 5  
Old 08-25-2008
Quote:
Originally Posted by FractalizeR
I heard something about ext2live patch for ext2, that allows unmounting to be done on them. Not sure about ext3.
ext3 is just ext2 with journal support. All one needs to do is remove the journal, resize, re-add the journal.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Adding to an array in an external file, and adding elements to it.

I have an array in an external file, "array.txt", which contains: char *testarray={"Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine"};I want to be able to add an element to this array, and have that element display, whenever I call it, without having to recompile... (29 Replies)
Discussion started by: ignatius
29 Replies

2. AIX

Mount Filesystem in AIX Unable to read /etc/filesystem

Dear all, We are facing prolem when we are going to mount AIX filesystem, the system returned the following error 0506-307The AFopen call failed : A file or directory in the path name does not exist. But when we ls filesystems in the /etc/ directory it show -rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies

3. Solaris

Solaris Filesystem vs. Windows FileSystem

Hi guys! Could you tell me what's the difference of filesystem of Solaris to filesystem of Windows? I need to compare both. I have read some over the net but it's so much technical. Could you explain it in a more simpler term? I am new to Solaris. Hope you help me guys. Thanks! (4 Replies)
Discussion started by: arah
4 Replies

4. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

5. Shell Programming and Scripting

Adding new lines to a file + adding suffix to a pattern

I need some help with adding lines to file and substitute a pattern. Ok I have a file: #cat names.txt name: John Doe stationed: 1 name: Michael Sweets stationed: 41 . . . And would like to change it to: name: John Doe employed permanently stationed: 1-office (7 Replies)
Discussion started by: hemo21
7 Replies

6. Solaris

Adding a filesystem to a running local zone

Is there a way to mount a filesystem from the global zone to the local zone without rebooting the local zone? I'm using a lofs filesystem.. any help is appreciated! thanks.. (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies

7. Solaris

Filesystem - error when extend the filesystem

Hi all, currently , my root filesystem already reach 90 ++% I already add more cylinder in the root partition as below Part Tag Flag Cylinders Size Blocks 0 root wm 67 - 5086 38.46GB (5020/0/0) 80646300 1 swap wu 1 - ... (11 Replies)
Discussion started by: SmartAntz
11 Replies

8. HP-UX

Adding space to a filesystem

Hello, I am trying to add space to my existing system and I need a little assistance determining if I have any disk space available to allocate. Here is what I have: DISKS: Class I H/W Path Driver S/W State H/W Type Description... (1 Reply)
Discussion started by: dkranes
1 Replies

9. AIX

Adding space to a filesystem

Hello I have a flesystem that has run out of space. I have tried using the following command to add space: # chfs -a size=+100 /lsrc I get the following error: 0516-404 allocp: This system cannot fulfill the allocation request. There are not enough free partitions or not enough... (9 Replies)
Discussion started by: dkranes
9 Replies

10. UNIX for Dummies Questions & Answers

filesystem

i am about to install oracle on my solaris x86-64 This installation require 4Gb space and i qish to do this installation on the directory /u01/app/oracle The following was my approch mkdir -p /u01/app/oracle i then use the command below to see if there is enough space # df -h... (6 Replies)
Discussion started by: seyiisq
6 Replies
Login or Register to Ask a Question