Sponsored Content
Full Discussion: Fstab for 2nd hdd, how to?
Operating Systems Linux Fedora Fstab for 2nd hdd, how to? Post 302970332 by 1in10 on Tuesday 5th of April 2016 01:42:43 PM
Old 04-05-2016
setting fstab options to defaults, no reply at all

May the moderator should move this thread to BSD, because it did not work at all an linux.
I set in on the mountpoint /dev/usr and after rebooting the boot-routine told me, that the second hdd was not unmounted correctly.
Systemd forced a fsck for the 2nd hdd and after not even half of the 2nd volume I was stuck on a black screen with a cursor.

On linux it did not work at all. I guess even trying to replace systemd is quite a task, not to disturb the runnig system. So on linux with systemd for the enthusiasts of their distro they may try the following commands one after another and have a look at it.

Code:
systemd-analyze
systemd-analyze blame 
systemd-analyze critical-chain 
systemd-analyze dot | dot -Tsvg > systemd.svg
systemd-analyze plot > bootplot.svg

So I am fighting my way through bsd where to mount that hdd properly in the fstab. Here is the actual output of my fstab on bsd.

Code:
# Device                Mountpoint            FStype        Options    Dump Pass
/dev/label/swap0.eli    none                swap        sw        0     0
procfs                    /proc                procfs        rw        0    0
linprocfs                /compat/linux/proc    linprocfs    rw        0    0

This is interesting, pluggin the hdd into the bsd machine it is recognized by gpart list, but not yet ready to be accessed. After
typing
Code:
pkg install fusefs-ext4fuse

there are two entries in the drop down menu for the same device. As far as I know ext2 is the basic for cooperation between linux and bsd. So now I do not have the rights, because this device has been installed in another machine with another root and user. So what can I do? Something like

Code:
chmod -R 777 ada1

yes, I remember one user on this forum telling me, that this is not the magical sledgehammer, but I need the data of the disk, it is about some years of work. And since I am working on my own machine as a single user, whats the matter with that?

this is what
Code:
gpart list

tells me about the second hdd.
Code:
Geom name: ada1
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 1953525167
first: 63
entries: 4
scheme: MBR
Providers:
1. Name: ada1s1
   Mediasize: 1000203091968 (932G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   rawtype: 142
   length: 1000203091968
   offset: 1048576
   type: linux-lvm
   index: 1
   end: 1953523711
   start: 2048
Consumers:
1. Name: ada1
   Mediasize: 1000204886016 (932G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

So any hints to solve this problem? Many thanks in advance.

Last edited by 1in10; 04-06-2016 at 09:42 PM.. Reason: loader.conf on bsd
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

dual boot solaris off of 2nd HDD

I did a search on the board, but I could not find anything specific to dual booting windows and solaris, with solaris being placed on a second hard drive. I have solaris 8 intel, and I am trying to dual boot, but the Solaris installation process is quite intimidating. I am afraid I am going to do... (3 Replies)
Discussion started by: dangral
3 Replies

2. Linux

/etc/fstab

I've created a new drive and i've added it to my fstab file but on startup it will not mount. here is how i put it into my fstab file, is that right? /dev/hdb2 /disk2a ext3 defaults 1 2 (6 Replies)
Discussion started by: byblyk
6 Replies

3. SCO

Sco 5.06 How To Mount A 2nd Hdd Help Help!!!!

Hi guys, I have this problem , One of our client's hdd went down and we cannot boot up the machine , I've installed a new hdd with a fresh copy of SCO 5.0.6 same as the one in the old HDD, i think the data still good in the old HDD. My question!!! How can i access the data from the fresh... (4 Replies)
Discussion started by: josramon
4 Replies

4. UNIX for Dummies Questions & Answers

Old HDD copy to new HDD ? im lost...

Over the last few months the HDD spins louder and louder, so I fiqured its time to replace the HDD. Its been running 24/7/365 since 98 :eek:. yes i said since 98 :D I have an IBM system 43P Model 240. 233 MHz. running AIX Version 4. The current HDD is an IBM DGHS COMP IEC -950 FRU PN#... (5 Replies)
Discussion started by: Chevy89rocks
5 Replies

5. Red Hat

Using a variable in fstab

We have a load of servers which require cloning in VMWare, each of which have their own area on netapp for storage. I was trying to be a bit clever and use a variable within /etc/fstab so I dont need to edit it every time like so; netapp:/vol/vol_nfs_server/servers/`hostname | sed 's/\./ /g' |... (1 Reply)
Discussion started by: JayC89
1 Replies

6. UNIX for Dummies Questions & Answers

fstab

hi , i'm creating a shell script using fstab for my project of last year, i wonder you can help me to know what is the command allow me to get the list of unmounted partitions. thanks (4 Replies)
Discussion started by: Linux001
4 Replies

7. Ubuntu

fstab question

I have created a thumbdrive with a bootable version of Ubuntu 10.04 LTS, it uses Grub legacy. One of the issues I have is that everytime I boot a new system from the thumbdrive, it writes entries for the partitions in the fstab. Consequently, when I boot another system, the OS reads the fstab... (2 Replies)
Discussion started by: stumpyuk
2 Replies

8. Red Hat

Mount /etc/fstab

Can you please help me mount below filesystem in fstab ( I have rhel 5 ) as the line is long - it is not taking as single line How can break this in 2 line and act as one ....please help ... (4 Replies)
Discussion started by: saurabh84g
4 Replies

9. AIX

IBM AIX Internal HDD vs SAN HDD and Oracle

Hi Folks, I am facing an issue with the performance. P4 with 1 processor and 16 GB RAM and SAN HDD = Oracle report takes 25 minutes P5 with 2 processors and 16 GB RAM internall HDD with LPAR = Oracle Report takes 1 hour 15 minutes ( please note I have assigned all the max processors and... (7 Replies)
Discussion started by: filosophizer
7 Replies

10. Emergency UNIX and Linux Support

2nd hdd is Linux_lvm can't mount MBR on BSD with GPT

rying it this way, because I can't handle the slices for the second hdd. If there is someone on this forum who can help me out of that misery, he would really save my digital life in this digital ocean. So not giving up, reading several times the manual of gpart. But the best hint in all that... (0 Replies)
Discussion started by: 1in10
0 Replies
All times are GMT -4. The time now is 05:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy