LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-13-2016, 11:10 AM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
dmraid /dev/mapper/control


I installed dmraid using ./configure / make / make install I cannot remove it. I ran it for other reasons then I should have, long story skipping it.

Now that I just moved my home partition to another HDD, got everything set up with that.

When I tried to remove my old /home using gParted I get an error "could not stat device /dev/mapper/NO RAID disks no such file or directory" it too is preventing me from mounting it and changing that partition into what I want it to be which is just a data storage area.

I have a /dev/mapper/control
Code:
 userx@SlackDaddy & 1.0.0.rc14 >> $ls /dev/mapper/control
/dev/mapper/control
though I do not know a fix for this let alone an easy one.

if I just delete this /dev/mapper/control then what?


this did not work either
Code:
userx@SlackDaddy & 1.0.0.rc14 >> $sudo make uninstall
make: *** No rule to make target 'uninstall'.  Stop.
does anyone know a solution to this issue short of re-installing Slack?

and NO old /home is not mounted in fstab
Code:
root@SlackDaddy & 1.0.0.rc14 >> $cat /etc/fstab
/dev/sda1        /                ext4        defaults         1   1
#/dev/sda3        /home            ext4        defaults         1   2
/dev/sdb4  /home         ext4 defaults 1 2

/dev/sdb1        /media/windows10 ntfs-3g     fmask=111,dmask=000 1   0
/dev/sda3       /media/void          ext4 defaults 0 3

#/dev/sdb4       /media/void2      ext4 defaults 0 3

#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro,comment=x-gvfs-show 0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0

Last edited by BW-userx; 10-13-2016 at 11:14 AM.
 
Old 10-13-2016, 01:18 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
You could try using src2pkg to mimic your dmraid installation. If you can do that, you can use src2pkg to make a package that you can install (overwriting the old installation) and then uninstall (removing it from the system).
 
Old 10-13-2016, 01:53 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Richard Cranium View Post
You could try using src2pkg to mimic your dmraid installation. If you can do that, you can use src2pkg to make a package that you can install (overwriting the old installation) and then uninstall (removing it from the system).
Code:
root@SlackDaddy & dmraid >> $FAIL_ON_BAD_DIRS=NO   src2pkg  dmraid-1.0.0.rc14.tar.bz2
Found source archive: dmraid-1.0.0.rc14.tar.bz2
Deleting old build files - Done
Creating working directories:
   PKG_DIR=/tmp/dmraid-1.0.0.rc14-x86_64-1
   SRC_DIR=/tmp/dmraid-1.0.0.rc14-src-1
Unpacking source archive - Done
Correcting source permissions - Done
Checking for patches - None found
   Notice - The configuration files are in a subdirectory: 1.0.0.rc14
Found configure script - Done
Configuring sources using:
 LDFLAGS="-Wl,-O1,-L/lib64,-L/usr/lib64" CFLAGS="-O2 -fPIC -m64" ./configure --prefix=/usr --libdir=/usr/lib64
Configuration has been - Successful!
Compiling sources - Using: 'make'
Compiling has been - Successful!
Checking for Makefile rule: 'install' Okay
Checking support for DESTDIR (or similar) - Found DESTDIR
Creating package content using:
   make DESTDIR=/tmp/dmraid-1.0.0.rc14-x86_64-1 install

Warning! These sources have broken DESTDIR support!
Warning! Makefile installs these files outside of DESTDIR:
/usr/lib64/libdmraid.a
   Notice - The above-listed files will be added to the package content.
   But, the originals will not be removed as they may have already existed.
Correcting DESTDIR errors - Processing package content:
/usr/libexec/src2pkg/09-fix_pkg_perms: line 380: warning: command substitution: ignored null byte in input
/usr/libexec/src2pkg/09-fix_pkg_perms: line 380: warning: command substitution: ignored null byte in input
Correcting package permissions - Done
Stripping ELF binaries - Using: strip -p --strip-unneeded Done
Stripping static archives - Using: strip -p --strip-debug Done
Checking for standard documents - Done
Compressing man pages - Done
Verified slack-desc found - Inserting in package as PKG_DIR/install/slack-desc
Rechecking package correctness:
Rechecking package permissions - Done
Checking for dead links in PKG_DIR - Done
Searching for links in: dmraid-1.0.0.rc14-x86_64-1 - None found
Creating package: dmraid-1.0.0.rc14-x86_64-1.txz - Done
Package Creation - Successful! Package Location:
/tmp/dmraid-1.0.0.rc14-x86_64-1.txz
Code:
root@SlackDaddy & dmraid >> $installpkg /tmp/dmraid-1.0.0.rc14-x86_64-1.txz
Verifying package dmraid-1.0.0.rc14-x86_64-1.txz.
Installing package dmraid-1.0.0.rc14-x86_64-1.txz:
PACKAGE DESCRIPTION:
# dmraid Device-Mapper Software RAID support tool
# 
# This software discovers, activates, deactivates and displays
# properties of software RAID sets (eg, ATARAID) and contained
# DOS partitions. dmraid uses libdevmapper and the device-mapper
# kernel runtime to create devices with respective mappings
# for the ATARAID sets discovered.
#
# Packaged by root <root@SlackDaddy>
Package dmraid-1.0.0.rc14-x86_64-1.txz installed.
Code:

root@SlackDaddy & dmraid >> $removepkg dmraid

Removing package /var/log/packages/dmraid-1.0.0.rc14-x86_64-1...
Removing files:
  --> Deleting /tmp/dmraid-1.0.0.rc14-x86_64-1/usr/sbin/dmraid
  --> Deleting /usr/doc/dmraid-1.0.0.rc14/CHANGELOG
  --> Deleting /usr/doc/dmraid-1.0.0.rc14/CREDITS
  --> Deleting /usr/doc/dmraid-1.0.0.rc14/LICENSE
  --> Deleting /usr/doc/dmraid-1.0.0.rc14/LICENSE_GPL
  --> Deleting /usr/doc/dmraid-1.0.0.rc14/LICENSE_LGPL
  --> Deleting /usr/doc/dmraid-1.0.0.rc14/README
  --> Deleting /usr/doc/dmraid-1.0.0.rc14/TODO
  --> Deleting /usr/include/dmraid/display.h
  --> Deleting /usr/include/dmraid/dmraid.h
  --> Deleting /usr/include/dmraid/format.h
  --> Deleting /usr/include/dmraid/lib_context.h
  --> Deleting /usr/include/dmraid/list.h
  --> Deleting /usr/include/dmraid/locking.h
  --> Deleting /usr/include/dmraid/metadata.h
  --> Deleting /usr/include/dmraid/misc.h
  --> Deleting /usr/include/dmraid/reconfig.h
  --> Deleting /usr/lib64/libdmraid.a
  --> Deleting /usr/man/man8/dmraid.8.gz
  --> Deleting empty directory /usr/include/dmraid/
  --> Deleting empty directory /usr/doc/dmraid-1.0.0.rc14/
  --> Deleting empty directory /tmp/dmraid-1.0.0.rc14-x86_64-1/usr/sbin/
WARNING: Unique directory /tmp/dmraid-1.0.0.rc14-x86_64-1/usr/ contains new files
WARNING: Unique directory /tmp/dmraid-1.0.0.rc14-x86_64-1/ contains new files
Code:

root@SlackDaddy & dmraid >> $whereis dmraid
dmraid: /sbin/dmraid /usr/man/man8/dmraid.8
Code:
root@SlackDaddy & dmraid >> $ls /dev/mapper
control
just documenting my actions at this moment.

OK

I just got gparted started and it is still throwing that error /dev/mapper/no RAID crap grrr .. not blaming you mind ya.. just grrrr

let me reboot and see what happens.

Last edited by BW-userx; 10-13-2016 at 02:04 PM.
 
Old 10-13-2016, 03:25 PM   #4
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
If you originally ran ./configure and didn't provide any options, you are almost certainly to have installed everything somewhere in /usr/local.

src2pkg will attempt to put stuff into /usr by default. So you'd have to tell src2pkg to not do that. That's why I wrote
Quote:
You could try using src2pkg to mimic your dmraid installation.
instead of "Just run src2pkg to make a package out of dmraid."

I concede that I should have been more explicit in what I meant by "You could try using src2pkg to mimic your dmraid installation." Sorry about that.
 
Old 10-13-2016, 03:38 PM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Richard Cranium View Post
If you originally ran ./configure and didn't provide any options, you are almost certainly to have installed everything somewhere in /usr/local.

src2pkg will attempt to put stuff into /usr by default. So you'd have to tell src2pkg to not do that. That's why I wrote instead of "Just run src2pkg to make a package out of dmraid."

I concede that I should have been more explicit in what I meant by "You could try using src2pkg to mimic your dmraid installation." Sorry about that.
that's right not a big deal though ..re- installed, reconfigured and back up and running again. thanks cheers!
 
  


Reply

Tags
dmraid, raid


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
[SOLVED] New to LVM, how to bridge between /dev/sd* and /dev/mapper/vol group/log vol? JockVSJock Linux - Newbie 2 02-17-2015 12:22 PM
Which is faster /dev/mapper or /dev/cciss? mohamed.a.mostafa Red Hat 1 03-30-2013 05:30 PM
LVM pvs is showing /dev/dm-x as PV name instead of /dev/mapper n0rus Linux - Enterprise 3 08-05-2012 12:12 PM
SUSE 10 Machine p2v'd, boots with: aiting for /dev/mapper/control to appear: failed efciem Linux - Enterprise 1 06-19-2012 02:00 PM
vgcreate command is changing /dev/mapper as PV Name in pvdisplay to /dev/dm-xx path neeravsingh Linux - Enterprise 6 03-23-2010 03:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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
Open Source Consulting | Domain Registration