Regarding OS partition and root user


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Regarding OS partition and root user
# 1  
Old 10-21-2015
Regarding OS partition and root user

Dear Concern,

I am new in ubuntu. Is root user disable in ubuntu? Also, is os partition default in ubuntu? I don't find any feature to create customize mount point to install OS.
Below is my current OS partition.

Code:
amirislam@blnidapp03:~$ df -h
Filesystem                       Size  Used Avail Use% Mounted on
/dev/mapper/blnidapp03--vg-root   51G  1.2G   48G   3% /
none                             4.0K     0  4.0K   0% /sys/fs/cgroup
udev                             3.9G  4.0K  3.9G   1% /dev
tmpfs                            798M  1.3M  797M   1% /run
none                             5.0M     0  5.0M   0% /run/lock
none                             3.9G     0  3.9G   0% /run/shm
none                             100M     0  100M   0% /run/user
/dev/sda1                        236M   38M  186M  17% /boot

Also procedure to lvm management is similiar to Redhat?

---------- Post updated at 09:39 AM ---------- Previous update was at 09:35 AM ----------

Dear Concern,

Also, please inform me is 51 GB is sufficient for / mount point for below mentioned version of ubuntu?

Code:
amirislam@blnidapp03:~$ uname -a
Linux blnidapp03 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


Last edited by Don Cragun; 10-21-2015 at 04:59 AM.. Reason: Add CODE tags.
# 2  
Old 12-23-2015
sufficient disk space

Good day. From looking at your df output, it would appear as though your hard drive in question has at least 2 partitions.
Code:
mirislam@blnidapp03:~$ df -h
Filesystem                       Size  Used Avail Use% Mounted on
/dev/mapper/blnidapp03--vg-root   51G  1.2G   48G   3% /
/dev/sda1                        236M   38M  186M  17% /boot

Basically you have your /boot partition at partition 1 (/dev/sda1) and the other is a dev mapping, which is using LVM. Thus your partition layout would most likely be:

/dev/sda1 = your /boot
/dev/sda5 = extended partition (which can then encapsulate multiple partitions)

This is generally preferable, so you don't hit the maximum 4 primary partitions per hard drive. This can be seen by running: sudo fdisk -l /dev/sda

As for 51 GB, that is the current space allocated to the root (/) partition. This may / may not be enough. It is dependant on your individual preferences for extra packages that you install, if you download alot of media files, ISO's etc.

You may have more space unalloacted / unused in your VG. However, you would need to provide more details on that. Please run the following commands, and paste the output here so people have a better under standing of your particular setup.

Code:
sudo vgs
sudo las

More detailed information can be gathered with:
Code:
sudo vgdisplay
sudo lvdisplay

Moderator's Comments:
Mod Comment Please use CODE tags (not ICODE tags) for full-line and multi-line sample input, output, and code segments.

Last edited by Don Cragun; 12-23-2015 at 03:28 PM.. Reason: Change ICODE tags to CODE tags and add ICODE tags.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Increasing size of root partition

Dear All , We need to increase the size of the root partition in a RHEL server. The model is Product Name: SUN FIRE X4170 SERVER. Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 119G 47G 67G 41% /... (3 Replies)
Discussion started by: jegaraman
3 Replies

2. SCO

Resize root partition

I have SCO Openserver 5.0.5 Root partition is 96% full and I would like to make it bigger. How can this be done? 1) Can I use 'dd' to backup 'root' and then backup '/u' to a third hard disk, then divvy the primary hard disk to have a larger 'root' filesystem (i.e. previous root + u) 2) ... (5 Replies)
Discussion started by: grips03
5 Replies

3. Solaris

Need to partition root

Hello guys, I am using Solaris 10 x86 OS. While installing OS i have allocated entire 10 GB space to the root. Now i am not able to create new partition it says me "out of range" or "<cylinder number> not expected". Can someone please help me to allocated a default recommended space i.e 8GB or... (2 Replies)
Discussion started by: bhargav90
2 Replies

4. UNIX for Dummies Questions & Answers

Sudo to delegate permission from non-root user to another non-root user

I've been through many threads before i decide to create a separate thread. I can't really find the solution to my (simple) problem. Here's what I'm trying to achieve: As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user. The only to achieve this is to... (1 Reply)
Discussion started by: canar
1 Replies

5. Solaris

Root partition filling up

I have a T1000 Sparc server that has a relatively small root partition which is 24Gb and a larger partition dedicated to /export/home that is approximately 100 Gb. We have a lot of data going to /var/audit and to /var/core/corefiles. Is there any non-destructive way to redirect files from... (4 Replies)
Discussion started by: goose25
4 Replies

6. Red Hat

increase root partition

i am using redhat 5.4 and my root size shows 98 %, how can i increase root size # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 77G 16G 75G 98% / /dev/sda1 2.4G 82M 2.2G 4% /boot tmpfs 3.8G 0 3.8G 0%... (8 Replies)
Discussion started by: reply.ravi
8 Replies

7. Solaris

increasing root / partition

Dear all, I have a root partition which is 20 G in size. I have var and /tmp as seperate file systems. But this 20 G of root is not sufficeint. I want to increase the size of the / partition. Is there any way to increase with out down time. my df -k output is Filesystem ... (4 Replies)
Discussion started by: jegaraman
4 Replies

8. Solaris

Can't metattach root partition

I'm mirroring up a T2000. Able to metainit and metattach all partitions with the exception of root. Getting the following error: metattach: <hostname>; c1t1d0s0; is mounted on / I'm stumped. By the way, target 1 is the boot disk. (7 Replies)
Discussion started by: Probos
7 Replies

9. Shell Programming and Scripting

Disk space for root partition

Hello, I am trying to monitor disk space for each node on the machine. I am able to get all individual nodes but for the '/' node. For example: df -k: bash-2.05b# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/xxx 4127108 2415340 1502120 62% / /dev/yyy ... (3 Replies)
Discussion started by: chiru_h
3 Replies

10. Solaris

Reinstall root partition

I had Solaris 8 installed on a Ultra 10 machine but during a shutdown the root partition got corrupted. I have 3 other partitions on the drive (var, swap, home). Is there a way to reinstall the root partition without effecting the other partitions? Also, when I run format from single user mode I... (4 Replies)
Discussion started by: jbestor
4 Replies
Login or Register to Ask a Question