LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-26-2015, 03:07 PM   #1
zillur
Member
 
Registered: Apr 2015
Posts: 179

Rep: Reputation: Disabled
Want to allow disk space to /boot, or want to boot from other disk (16TB)


Hi there,
I am new in Linux system. Here is my disk space details(attached). Whenever I want to login as user the system just doesn't give any response but I can login as root. It seems my /boot disk hasn't enough space. How can I allow disk space to the /boot (I have enough space in the 16TB disk). Is there any way that I can login through 16TB disk (/dev/sda1)?

[root@workstation01 ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb2 112458088 12718008 99740080 12% /
devtmpfs 90639296 0 90639296 0% /dev
tmpfs 90648436 84 90648352 1% /dev/shm
tmpfs 90648436 9656 90638780 1% /run
tmpfs 90648436 0 90648436 0% /sys/fs/cgroup
/dev/sda1 15623790592 1750091440 13873699152 12% /mnt/831da725-3de4-46de-b6d4-30d15fd92d25
/dev/sdb1 508588 437880 70708 87% /boot
[root@workstation01 ~]#
Attached Thumbnails
Click image for larger version

Name:	disk_status.png
Views:	24
Size:	65.4 KB
ID:	19868  
 
Old 10-26-2015, 03:33 PM   #2
joe_2000
Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 808

Rep: Reputation: 216Reputation: 216Reputation: 216
Can you please provide a bit more information? For some reason you think that you don't have enough space in /boot and that this is somehow leading to your normal user not being able to log in. (I don't see how these two facts should be related, but I might be missing something.)

For people to be able to help it would help if you gave a bit of background info.
What distro are you using?
How are you trying to login? (Are you physically sitting in front of the computer or are you logging in remotely, e.g. through ssh? Are you logging in on a terminal or are you using a graphical login manager?)
 
Old 10-26-2015, 04:09 PM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,260

Rep: Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948
You do have enough space in /boot, and even if you didn't that would have nothing at all to do with logging in as a regular user vs root. We need a lot more information as joe mentioned.
 
Old 10-26-2015, 04:20 PM   #4
zillur
Member
 
Registered: Apr 2015
Posts: 179

Original Poster
Rep: Reputation: Disabled
#
# /etc/fstab
# Created by anaconda on Fri Jul 24 12:08:27 2015
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=a7b150bf-f04a-4af0-917f-b9e8a6a45f35 / xfs defaults 1 1
UUID=d92c7e03-d559-48be-aaef-eb58b1608e6a /boot xfs defaults 1 2
/dev/sdb1 /home xfs defaults,usrquota,grpquota 1 2
UUID=bc6779ef-36cb-41ed-8f5d-21d2e7248b6b swap swap defaults 0 0
/dev/disk/by-uuid/831da725-3de4-46de-b6d4-30d15fd92d25 /mnt/831da725-3de4-46de-b6d4-30d15fd92d25 auto nosuid,nodev,nofail,x-gvfs-show 1 2






I am using the following system: Initially I had 64 Gb memory. Then I added extra memory. After added the memories I lost the GUI (maybe there was update issue with yum). Then I downloaded and installed "NVIDIA-Linux-x86_64-331.67.run". Now the GUI is working. But I can't login as a user in the desktop using my ID and password. But I can login through ssh using the same username and password. I also can login as root and I can access all of my files. But I don't want to login as root. I am new in the system administrator arena. Would you please to help me.

Best Regards
Zillur

System: Host: workstation01 Kernel: 3.10.0-229.14.1.el7.x86_64 x86_64 (64 bit gcc: 4.8.3)
Desktop: Gnome 3.8.4 Distro: CentOS Linux release 7.1.1503 (Core)
Machine: Mobo: ASUSTeK model: Z10PE-D16 WS v: Rev 1.xx
Bios: AmericaSystem: Host: workstation01 Kernel: 3.10.0-229.14.1.el7.x86_64 x86_64 (64 bit gcc: 4.8.3)
Desktop: Gnome 3.8.4 Distro: CentOS Linux release 7.1.1503 (Core)
Machine: Mobo: ASUSTeK model: Z10PE-D16 WS v: Rev 1.xx
Bios: American Megatrends v: 1001 date: 03/17/2015
CPU(s): 2 Octa core Intel Xeon E5-2630 v3s (-HT-MCP-SMP-) cache: 40960 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 76630
clock speeds: max: 3200 MHz 1: 1200 MHz 2: 1316 MHz 3: 1200 MHz
4: 1399 MHz 5: 1287 MHz 6: 1219 MHz 7: 1214 MHz 8: 1278 MHz
9: 1298 MHz 10: 1472 MHz 11: 1803 MHz 12: 1200 MHz 13: 1231 MHz
14: 1237 MHz 15: 1296 MHz 16: 1200 MHz
Graphics: Card: NVIDIA GK208 [GeForce GT 720] bus-ID: 81:00.0
Display Server: X.org 1.15.0 driver: nvidia
tty size: 80x24 Advanced Data: N/A for root
Audio: Card-1 NVIDIA GK208 HDMI/DP Audio Controller
driver: snd_hda_intel bus-ID: 81:00.1
Card-2 Intel C610/X99 series HD Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Sound: ALSA v: k3.10.0-229.14.1.el7.x86_64
Network: Card-1: Intel I210 Gigabit Network Connection
driver: igb v: 5.2.13-k port: 5000 bus-ID: 05:00.0
IF: eth0 state: down mac: <filter>
Card-2: Intel I210 Gigabit Network Connection
driver: igb v: 5.2.13-k port: 4000 bus-ID: 06:00.0
IF: eth1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 16120.9GB (11.2 used)
ID-1: /dev/sda model: MR9361 size: 16000.9GB temp: 0C
ID-2: /dev/sdb model: INTEL_SSDSCKJW12 size: 120.0GB temp: 46C
Partition: ID-1: / size: System: Host: workstation01 Kernel: 3.10.0-229.14.1.el7.x86_64 x86_64 (64 bit gcc: 4.8.3)
Desktop: Gnome 3.8.4 Distro: CentOS Linux release 7.1.1503 (Core)
Machine: Mobo: ASUSTeK model: Z10PE-D16 WS v: Rev 1.xx
Bios: American Megatrends v: 1001 date: 03/17/2015
CPU(s): 2 Octa core Intel Xeon E5-2630 v3s (-HT-MCP-SMP-) cache: 40960 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 76630
clock speeds: max: 3200 MHz 1: 1200 MHz 2: 1316 MHz 3: 1200 MHz
4: 1399 MHz 5: 1287 MHz 6: 1219 MHz 7: 1214 MHz 8: 1278 MHz
9: 1298 MHz 10: 1472 MHz 11: 1803 MHz 12: 1200 MHz 13: 1231 MHz
14: 1237 MHz 15: 1296 MHz 16: 1200 MHz
Graphics: Card: NVIDIA GK208 [GeForce GT 720] bus-ID: 81:00.0
Display Server: X.org 1.15.0 driver: nvidia
tty size: 80x24 Advanced Data: N/A for root
Audio: Card-1 NVIDIA GK208 HDMI/DP Audio Controller
driver: snd_hda_intel bus-ID: 81:00.1
Card-2 Intel C610/X99 series HD Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Sound: ALSA v: k3.10.0-229.14.1.el7.x86_64
Network: Card-1: Intel I210 Gigabit Network Connection
driver: igb v: 5.2.13-k port: 5000 bus-ID: 05:00.0
IF: eth0 state: down mac: <filter>
Card-2: Intel I210 Gigabit Network Connection
driver: igb v: 5.2.13-k port: 4000 bus-ID: 06:00.0
IF: eth1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 16120.9GB (11.2% used)
ID-1: /dev/sda model: MR9361 size: 16000.9GB temp: 0C
ID-2: /dev/sdb model: INTEL_SSDSCKJW12 size: 120.0GB temp: 46C
Partition: ID-1: / size: 108G used: 6.7G (7%) fs: xfs dev: /dev/sdb2
ID-2: /boot size: 497M used: 251M (51%) fs: xfs dev: /dev/sdb1
ID-3: swap-1 size: 4.29GB used: 0.00GB (0%) fs: swap dev: /dev/sdb3
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 36.0C mobo: N/A gpu: 0.0:47C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 318 Uptime: 3 days Memory: 2550.2/177047.7MB
Init: systemd runlevel: 5 Gcc sys: 4.8.3
Client: Shell (bash 4.2.461) inxi: 2.2.28 108G used: 6.7G (7%) fs: xfs dev: /dev/sdb2
ID-2: /boot size: 497M used: 251M (51%) fs: xfs dev: /dev/sdb1
ID-3: swap-1 size: 4.29GB used: 0.00GB (0%) fs: swap dev: /dev/sdb3
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 36.0C mobo: N/A gpu: 0.0:47C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 318 Uptime: 3 days Memory: 2550.2/177047.7MB
Init: systemd runlevel: 5 Gcc sys: 4.8.3
Client: Shell (bash 4.2.461) inxi: 2.2.28 n Megatrends v: 1001 date: 03/17/2015
CPU(s): 2 Octa core Intel Xeon E5-2630 v3s (-HT-MCP-SMP-) cache: 40960 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 76630
clock speeds: max: 3200 MHz 1: 1200 MHz 2: 1316 MHz 3: 1200 MHz
4: 1399 MHz 5: 1287 MHz 6: 1219 MHz 7: 1214 MHz 8: 1278 MHz
9: 1298 MHz 10: 1472 MHz 11: 1803 MHz 12: 1200 MHz 13: 1231 MHz
14: 1237 MHz 15: 1296 MHz 16: 1200 MHz
Graphics: Card: NVIDIA GK208 [GeForce GT 720] bus-ID: 81:00.0
Display Server: X.org 1.15.0 driver: nvidia
tty size: 80x24 Advanced Data: N/A for root
Audio: Card-1 NVIDIA GK208 HDMI/DP Audio Controller
driver: snd_hda_intel bus-ID: 81:00.1
Card-2 Intel C610/X99 series HD Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Sound: ALSA v: k3.10.0-229.14.1.el7.x86_64
Network: Card-1: Intel I210 Gigabit Network Connection
driver: igb v: 5.2.13-k port: 5000 bus-ID: 05:00.0
IF: eth0 state: down mac: <filter>
Card-2: Intel I210 Gigabit Network Connection
driver: igb v: 5.2.13-k port: 4000 bus-ID: 06:00.0
IF: eth1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 16120.9GB (11.2% used)
ID-1: /dev/sda model: MR9361 size: 16000.9GB temp: 0C
ID-2: /dev/sdb model: INTEL_SSDSCKJW12 size: 120.0GB temp: 46C
Partition: ID-1: / size: 108G used: 6.7G (7%) fs: xfs dev: /dev/sdb2
ID-2: /boot size: 497M used: 251M (51%) fs: xfs dev: /dev/sdb1
ID-3: swap-1 size: 4.29GB used: 0.00GB (0%) fs: swap dev: /dev/sdb3
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 36.0C mobo: N/A gpu: 0.0:47C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 318 Uptime: 3 days Memory: 2550.2/177047.7MB
Init: systemd runlevel: 5 Gcc sys: 4.8.3
Client: Shell (bash 4.2.461) inxi: 2.2.28
 
Old 10-26-2015, 04:22 PM   #5
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 14.04 LTS
Posts: 230

Rep: Reputation: 65
scrap that, misread your post

Last edited by hortageno; 10-26-2015 at 04:26 PM.
 
Old 10-26-2015, 04:26 PM   #6
zillur
Member
 
Registered: Apr 2015
Posts: 179

Original Poster
Rep: Reputation: Disabled
here is the 16tb disk.
Attached Thumbnails
Click image for larger version

Name:	16tb.png
Views:	16
Size:	68.4 KB
ID:	19869  
 
Old 10-26-2015, 04:27 PM   #7
zillur
Member
 
Registered: Apr 2015
Posts: 179

Original Poster
Rep: Reputation: Disabled
I am trying to login directly, not remotely.
 
Old 10-26-2015, 04:36 PM   #8
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,260

Rep: Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948
Why are you trying to mount /dev/sdb1 to /home in your fstab? sdb1 is a 500M boot partition, it should NOT be mounted at /home. Unless you have a good reason for doing that, which I highly doubt, delete that line from your fstab.
 
Old 10-26-2015, 04:40 PM   #9
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Probably your user is no member of video group ... just guessing.
 
Old 10-26-2015, 04:45 PM   #10
zillur
Member
 
Registered: Apr 2015
Posts: 179

Original Poster
Rep: Reputation: Disabled
/dev/sdb1 /home xfs defaults,usrquota,grpquota 1 2

So, I just need to delete this 3rd line only from /etc/fstab? And anything I need to do?

I want to mount /dev/sda1 as /home. But don't know how? Would you please to help me.
 
Old 10-26-2015, 04:47 PM   #11
zillur
Member
 
Registered: Apr 2015
Posts: 179

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
Probably your user is no member of video group ... just guessing.
what is a video group? How can I include my user in this group?
 
Old 10-26-2015, 04:58 PM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,961

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
What is confusing is that the output of the df command shows /sdb1 as /boot but the attached image and your /etc/fstab file show that sdb1 is also mounted as /home. If your /home is also on your /boot partition then that could be the reason why you can not login because your also using quotas and it is only 524MB.

Post the output of the command blkid. This will show all of your filesystems information i.e. partition, file system type and UUID.
 
Old 10-26-2015, 05:17 PM   #13
zillur
Member
 
Registered: Apr 2015
Posts: 179

Original Poster
Rep: Reputation: Disabled
[root@workstation01 ~]# blkid
/dev/sda1: UUID="831da725-3de4-46de-b6d4-30d15fd92d25" TYPE="xfs" PARTLABEL="workstation" PARTUUID="3e643245-60a6-4100-b807-0f4145e6c9ee"
/dev/sdb1: LABEL="BOOT" UUID="d92c7e03-d559-48be-aaef-eb58b1608e6a" TYPE="xfs"
/dev/sdb2: LABEL="ROOT" UUID="a7b150bf-f04a-4af0-917f-b9e8a6a45f35" TYPE="xfs"
/dev/sdb3: LABEL="SWAP1" UUID="bc6779ef-36cb-41ed-8f5d-21d2e7248b6b" TYPE="swap"
 
Old 10-26-2015, 06:06 PM   #14
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,260

Rep: Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948
Quote:
Originally Posted by zillur View Post
/dev/sdb1 /home xfs defaults,usrquota,grpquota 1 2

So, I just need to delete this 3rd line only from /etc/fstab? And anything I need to do?

I want to mount /dev/sda1 as /home. But don't know how? Would you please to help me.
Yes absolutely remove that line and see if it fixes your problem. Once your system is functional, we can go through migrating /home onto your 16 TB array, I've done it many times.
 
Old 10-26-2015, 06:14 PM   #15
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Quote:
So, I just need to delete this 3rd line only from /etc/fstab? And anything I need to do?
Yes, then reboot. Or you could comment the line out by putting a hash mark at the beginning of the line as shown below and rebooting. You could then put a comment on a line above it explaining the problem and why it should not be done for future reference.

Quote:
#/dev/sdb1 /home xfs defaults,usrquota,grpquota 1 2
As pointed out above, you have boot and home mounted to the same partition but it is actually just the boot partition. You have a home mount point in fstab of sdb1 and if you look at the blkid output, the uuid for boot is sdb1. That will be nothing but problems.

If what you are trying to do is get home mounted as a separate partition on sda1, the simplest way to do that is to create a separate partition for it during install. You could create a mount point for sda1 now then create a proper entry for it in fstab and copy the home directory and its contents there. Since I've only done that once, I'll leave it to others to explain how to do it.

Last edited by yancek; 10-26-2015 at 06:20 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Disk Mirroring of >16TB XFS Volumes fantasygoat Linux - Server 2 07-29-2011 05:22 PM
Swap disk or space in a quad BOOT Bobymc Linux - Software 1 05-28-2006 12:21 PM
Boot Disk Floppy NO SPACE montyw47 Linux - Newbie 2 02-08-2004 06:47 AM
Boot/Root Disk - No Enough Space! ryanstrayer Linux - General 7 02-07-2002 12:33 AM
Cant boot linux, out of disk space fooooo Linux - General 1 05-25-2001 06:02 AM


All times are GMT -5. The time now is 05:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration