LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Want to allow disk space to /boot, or want to boot from other disk (16TB) (https://www.linuxquestions.org/questions/linux-newbie-8/want-to-allow-disk-space-to-boot-or-want-to-boot-from-other-disk-16tb-4175557208/)

zillur 10-26-2015 02:07 PM

Want to allow disk space to /boot, or want to boot from other disk (16TB)
 
1 Attachment(s)
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 ~]#

joe_2000 10-26-2015 02:33 PM

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?)

suicidaleggroll 10-26-2015 03:09 PM

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.

zillur 10-26-2015 03:20 PM

#
# /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

hortageno 10-26-2015 03:22 PM

scrap that, misread your post

zillur 10-26-2015 03:26 PM

1 Attachment(s)
here is the 16tb disk.

zillur 10-26-2015 03:27 PM

I am trying to login directly, not remotely.

suicidaleggroll 10-26-2015 03:36 PM

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.

Emerson 10-26-2015 03:40 PM

Probably your user is no member of video group ... just guessing.

zillur 10-26-2015 03:45 PM

/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.

zillur 10-26-2015 03:47 PM

Quote:

Originally Posted by Emerson (Post 5440620)
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?

michaelk 10-26-2015 03:58 PM

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.

zillur 10-26-2015 04:17 PM

[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"

suicidaleggroll 10-26-2015 05:06 PM

Quote:

Originally Posted by zillur (Post 5440622)
/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.

yancek 10-26-2015 05:14 PM

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.


All times are GMT -5. The time now is 10:10 AM.