Slackware :: Format A Device Into XFS Filesystem Using Mkfs Command?

Sep 15, 2010

I'm trying to format a device into XFS filesystem using mkfs command. Suppose I have a /dev/sda1 device with 4096 block and I want to format the whole thing, how can I execute the command? I keep getting various errors while executing it.

View 7 Replies


ADVERTISEMENT

Software :: SD Memory Card Format With Mkfs.vfat?

Jan 25, 2011

I am trying to format 4 GB sd memory using mkfs.vfat. I want to use the card both in linux and windows so I am formatting with Vfat filesystem. When I format the card from command line with "mkfs.vfat -F 32 /dev/mmcblk1" I am getting a warning message like
"unable to get drive geometry, using default 255/63" but the data in the card is erased.

But when I mount the card and checks for the size using df -h its showing 1 GB instead of 4 GB. how to format the SD memory card or any other alternate way to format the card.

View 4 Replies View Related

OpenSUSE :: Accidentally Format - Mkfs.vfat On My 1Tb Ext - Recover The Data Completely?

Oct 11, 2010

A friend accidentally did mkfs.vfat on my 1Tb ext. hard drive..It's now showing as 400 GB free where it was 10 GB previously and the remaining data is being shown as weird symbols and empty folders and yet it occupies more than 500GB..Any way to recover the data completely?

View 1 Replies View Related

Slackware :: Mkfs.msdos Symlink Missing In Slackware 13.0?

Feb 1, 2010

The mkfs.msdos symlink seems to be missing in Slackware 13.0 32-bits. However it is there in 64-bits. This: [URL]...e_is_mkfs.vfat

View 2 Replies View Related

Slackware :: Command To Know The Stub Domain Ip Address In Ip4 Format?

Apr 10, 2010

What's the command to know the stub domain(LAN) ip address in ip4 format?

View 7 Replies View Related

Slackware :: How To Create Raid Arrays With Mkfs.btrfs

Jun 21, 2011

what do I have:2x 150GB drives (sda) on a raid card (raid 1)for the OS (slack 13.37)2x 2TB drives (sdb) on that same raid card (raid 1, too)2x 1.5TB drives (sdc,sdd) directly attached to MoBo2x 750GB drives (sde,sdf) attached to MoBo too.if i got about it the normal way, i'd create softRAID 1 out of the the 1.5TB and the 750GB drives and LVM all the data arrays (2TB+1.5TB+750GB) to get a unified disk.If I use btrfs will I be able to do the same? mean I have read how to create raid arrays with mkfs.btrfs and that some lvm capability is incorporated in the filesystem. but will it understand what I want it to do, if i just say

Code:
mkfs.btrfs /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1
probably not, eh?

View 3 Replies View Related

General :: Recovering A 'ntfs' Partition Which Got Ruined By Mkfs.ext4 Command?

Jan 28, 2010

I just ruined my /ntfs partition. I used the mkfs command and stopped it by ^C immidiately, but it was too late. mkfs.ext4 /dev/sdb1

Is there a way to recover NTFS partition now ? The partition </dev/sdb1> was 'ntfs' and mkfs.ext4 did not check if it was a ext4 or give any pre-check warning, just went ahead with making the ext4 fs on a ntfs partition.

View 6 Replies View Related

Ubuntu :: Format Pen Drive Into An Ext3 Filesystem?

Mar 6, 2010

I was running ubuntu as a live cd and I wanted to format my pen drive into an ext3 filesystem. I put in sudo mkfs /dev/sda1, but know im thinking that sda1 was my HDD!! I removed the cd from my computer, and it wont boot up into windows anymore!The only thing that is giving me hope is that the mkfs took about 1 min to format whatever it was formatting (my pen drive or my hdd!!) and my hdd is 500gb big. Is there anyway that I could have accidentaly formatted my HDD?

View 9 Replies View Related

General :: Filesystem Space In Readable Format On Hpux?

Jul 23, 2010

I am not sure whether this is something that can be answered here, but I figured this is the best place to start (next to google not giving me the answer I was looking for). One of our clients are running HPUX as filesystem, however when the support guys need to report the filesystem space they keep getting it wrong. Even after someone gave them the full command which will do the calculations for them, they still seem to make mistakes. On linux the df -h works very weel but this is obviously not available here...can use to display the filesystem space in the correct formats? Even if there is a set of commands that we can work into a script and they can then just run the script.

View 1 Replies View Related

General :: Create A Driver For A Particular Filesystem Format (FATX)?

Jul 15, 2010

I am trying to create a driver for a particular filesystem format(FATX) because one does not exist natively for linux. So my question is this. I know the format the file system is in, but how do i make a driver for it? I mean, i want people to be able to do, for example
'sudo apt-get install fatx' And then it downloads the driver, and bam, they can read the fatx file system?

View 6 Replies View Related

Slackware :: VirtualBox - Windowsxp Guest - No Sound - Unknown Audio Device - In The Windows Device Manager

Mar 11, 2010

For those that use Virtualbox on their slackware host and have a windows (xp) guest running. I have tried various settings for sound (Alsa, PulseAudio), the AC97 drivers are installed in the Windows xp guest os, but there is no sound and there is an unknown audio device (in the windows device manager). If I remove the AC97 drivers and use the soundblaster16 drivers in the Vbox settings there is no unknown sound device, but there's still no sound. why I can't get sound working?

View 13 Replies View Related

Ubuntu :: Usb Device Wont Format?

Dec 25, 2010

I tried to make a startup disk using an 8gb usb drive and set 4gb of space to save documents however it looked like the installation froze so I cancelled it and deleted the partition in the disk utility however now it shows up as unknown in ubuntu and RAW in vista. I only got it today so it would be nice if I could fix it

View 3 Replies View Related

Ubuntu :: Device Is Busy - Can't Format

Feb 17, 2011

I have a 250gb External HD and wanted to format it using the disk utility but every time I try Ubuntu tells me that the drive is busy.

How is it busy? I have nothing opened and haven't used it in anyway other than plugging it in. It doesn't even tell me what's using it.

View 4 Replies View Related

General :: Mount - Filesystem Handling For Embedded Device?

Jan 21, 2011

I am developing a device that will run Linux as its operating system.The device is a small form factor X86 device with a flash drive exposed as a SATA-device. So it is not very dissimilar from any other PC running Linux.For several good reasons I am building my own "distribution", instead of using an existing one.What confuses me is how mount/umount of the root file system is handled.I boot my kernel with the commandline "root=/dev/sda1 rw" which works fine. But everytime I do poweroff or reboot Busybox complained about no /etc/fstab, so I decided to build one.Should I have an entry for my root file system? It seems like this is shadowed by the rootfs anyway. I.e. if I have the fstab entry "/dev/sda1 / ext2 1 1" mount still reports rootfs on / type rootfs (rw)/dev/root on / type ext2 (rw,relatime,errors=continue)My questions are:Do I need to worry? Will the drive be correctly unmounted by the kernel on poweroff/reboot?If I want to perform file system checking on boot, can I do that without resorting to an initrd?

View 1 Replies View Related

CentOS 5 :: No Space Left On Device On Xfs Filesystem With 7.7TB Free

Mar 26, 2011

I'm running CentOS 5.2,on a 64-bit x86_64 Linux machine with kernel version 2.6.18-128.el5 smp. I appear to have version 2.9.4 of xfsprogs. I have a 22TB xfs filesystem ,Yesterday, the hard disk is full, today released a 7.7T disk space.But still can not write to new file. software ambience:

[root@Production data5]# uname -a
Linux Production 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

[code]....

View 5 Replies View Related

CentOS 5 :: Extra Root Filesystem Folders For Mounting Device

Oct 26, 2009

I was looking at the root filesystem folder for mounting a device when I noticed extra folders. I'm using an encrypted filesystem so I'm not sure if it's that, a break in or the default Red Hat layout. I searched these forums and Google to no avail on extra folders. The root system contains the following:

bin {fda00e13-8c62-4f63-9d19-d168115b11ca} media opt selinux usr
boot home misc proc srv var
dev lib mnt root sys
etc lost+found net sbin tmp

View 3 Replies View Related

Debian :: Format The Target Device ( A 4G Compact Flash )?

Oct 8, 2010

I need to install an aplication to several machines. The aplication runs on a Debian and the installation process is done with a usb. I'm using a plop live usb to perform the installation. I've seen that with plop , once the live system is on, i can run some scripts.

What I'm trying to do is:

->format the target device (a 4G compact flash).
->mount the formatted device.
->untar my debian.tar.gz in that device.
After rebooting, the system never boots.
Using a live CD and invoking "fdisk -lu" :

[Code]...

View 8 Replies View Related

Ubuntu Servers :: Partition RAID Device (MD0) And Then Format It?

Feb 26, 2011

I am finally, and happily ditching Windows IIS, SQL Server, and ASP in favor of LAMP. Not only will I save a bunch of money on operating systems but I've found php and MySQL development to be much faster than their Microsoft counterparts.Currently I have two W2008 and two Ubuntu servers running and doing virtually parallel tasks. I want to can the W2008 machines but I am not 100% sure of my Ubuntu mirrors.Everything seems to be working fine. I've copied tons of data back and forth as a primitive test but sometimes things work fine for all the wrong reasons. Here's where I get confused.

Question 1:Do I need to partition the RAID device (MD0) and then format it?From my experience this is necessary to get the device to mount.

Question 2:In this case was it also necessary to format the individual drive partitions?

Question 3:If I do a daily cat /proc/mdstat is this all I need to do to check the drive status.

Question 4:Is there any other check I can do to assure that the mirrors are created, mounted, and operating correctly?

View 3 Replies View Related

Debian Installation :: Mount Root Filesystem Failed: Device Or Resource Busy

Jun 16, 2010

I've upgraded my squeeze box to linux kernel 2.6.32-5. But it shows mounting "here is the uuid of / " on /root failed: Device or resource busy while booting.Here is the menuentry of linux kernel 2.6.32-5.

[code]....

View 9 Replies View Related

Ubuntu Installation :: Mount: Mounting /dev/loop0 On //filesystem.squashfs Faild: No Such Device

Jun 18, 2010

my friend using XP and it was closed because he didnt activate it . he want to try Linux , i adviced him to use UBUNTU 10.10, but after we order the boot we got a loading screen for ubuntu then this error appeared

Quote: busybox v1.15.3 ( ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash) enter 'help' for a list of built-in commands. (initramfs) stdin :I/O error mount: mounting /dev/loop0 on //filesystem.squashfs faild: no such device can not mount /dev/loop0 (/cdrom/casper filesystem.squashfs) on //filesystem.squashfs udevd[75]: worker [171] unexpectedly returned with status 0x0100 udevd[75]: worker [171] failed while handling ' /devices/virtual/block/loop0'

i change the cd to another one but an error was changed to :.............

View 7 Replies View Related

Slackware :: Failed To Initialize NVIDIA Graphics Device On Startx With Slackware 13.1

Aug 24, 2010

I installed slackware 13.1 x86_64 bit with multilib, and its been about a month already, I'm really enjoying slackware but I am being troubled with my nvidia card, and I need to get my 3D acceleration working. And I've been looking around the net for information and kept on trying to make my nvidia card to work but to no avail. I cant get X to start, once I put in a xorg.conf stating to use the nvidia card. After troubleshooting for almost 2 weeks and now at my wits end, I now come humbly looking for help in linuxquestions slackware community forum.I've installed nvidia 64 bit kernel, drivers from slackbuilds (version 256.44). The laptop model I'm trying to get it working is an -ASUS K52J Intel Core i3 2.40Ghz with 2GB RAM and with an Nvidia Geforce 310M with 1GB dedicated VRAM.

View 14 Replies View Related

Ubuntu Installation :: Error Appeared - Mounting /dev/loop0 On //filesystem.squashfs Faild: No Such Device

Nov 7, 2010

my friend using XP and it was closed because he didnt activate it . he want to try Linux , i adviced him to use UBUNTU 10.10 ,but after we order the boot we got a loading screen for ubuntu then this error appeared

[code]...

also , the labtop cannot boot from usb coz no option for that in BIOS. what can i do to solve each problems?

View 2 Replies View Related

Red Hat / Fedora :: Filesystem Check After Power Outage - WARNING: "Running E2fsck On A Mounted Filesystem May Cause SEVERE Filesystem Damage"

May 18, 2011

I am very new to linux, and I have a question regarding the filesystem check (fsck). The power recently went out and when I tried to restart linux the following error appears:

*/dev/sda1 contains file system w/errors, check forced it then goes on to say..

*An error occured during the file system check. Dropping you to a shell; the system will reboot when you leave the shell. Give root password for maintenance (or type Control-D to continue) I wasn't sure what to do, but checked some other online forums and they suggested running fsck manually - so I typed in the root password - and used the command, "fsck -A -V ; echo == $? ==" it then gave the following message

*WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage
*Would you like to continue (y/n)

Again, I wasn't sure what to do so i just checked no. I then manually turned off the computer and was prompted at the beginning to press Alt-3. I was brought to another screen and it informed me one of the drives was degraded and suggested rebuilding the array. I tried doing this, but it still brings me back to the original error of, "/dev/sda1 contains file system w/errors, check forced," and the process continues.

Also, when I tried to rebuild the array, I didn't backup any of the data on our home directory before doing this (which was probably a big mistake). After being prompted to type the root password, I was able to give the ls command and look at all the directories...the home directory where our data was stored was empty and I am afraid I may have lost some information. Is there a possibility that data was lost when I was trying to rebuild using the old drives?

View 2 Replies View Related

Slackware :: Filesystem Errors After Backup With Dd?

Jun 11, 2010

in preparation for the update to Slackware64 13.1 I did a complete backup of my system with dd.

I used the Slackware 13.0 (not 64 bit) DVD to boot and executed the command:
# dd if=/dev/sda of=/dev/sdb

The command finished without any errors as expected. First I tried to boot the destination hard disk to check if the backup was successful and I can start with updating the source disk to 13.1. But at boot time I got the message that the last file system check is 197 day ago, the file system check started automatically and found errors which it could not correct. At this point I thought it was maybe a copy or a hard disk error and tried to boot the source disk. But the behaviour was exactly the same on the source disk. With the source disk I followed then the recommendation, logged in with root password and executed the recommended command which was something like e2fsck -v -h /dev/sda1. Then the system did a file system check and scrolled a lot of numbers over the screen. After a while it reported that it's ready and the system needs a restart.
I switched off and on again. Then the system bootet as usual, and seems to run okay at the moment. But now I'm unsure if really everything is okay.

What I'm confused of is, why the system reported that the last file system check was 197 days ago and why this was just after the dd backup. Shouldn't the automatic file system check at boot time run more often as every 197 days or mounts? I didn't change any default settings (as far as I know). The file system of the root partition is ext4 and my computer normally is switched on and off once every day.

My question now is, if this behaviour can have something to do with the dd backup.
Is my system after the file system check okay again, or should I expect further problems?

View 12 Replies View Related

Slackware :: How To Format A USB Stick

Jan 17, 2010

I used a USB stick to make a bootable Slackware 13.0 USB.. uh, stick and now I need to use it to write stuff on -- can't seem to figure out how to format the thing so I can that

View 3 Replies View Related

Slackware :: Use UDF As The File Format?

Sep 9, 2010

I have a new external 500gb drive I want to format and put data on. I first formatted it as Fat32 as I'd like to access it with Windows at some point. I ended up having a few files over 4gb, so that didn't work.

I'd like to use UDF as the file format. Does anyone see any issues with formatting a 500GB drive with UDF? I don't see any reason why I would want to WRITE to the drive in Windows, just read...but there is software out there to allow Windows XP to write to a UDF drive if I needed to.

View 4 Replies View Related

Slackware :: Trying To Set Filesystem Type To Ext3 In Cfdisk?

Jun 21, 2010

I've scoured the list of options for FS type in cfdisk for ext3 or ext4 to no avail. How then do I set the filesystem type for my partition to ext3?

View 3 Replies View Related

General :: Format The Output Of The Ps Command?

Aug 27, 2010

i am running ps xo "pid,command" but I can't find my process in the results. I know that the process is running because I run ps ax | grep command-name

View 4 Replies View Related

General :: Output Format For LS -LTR Command

Feb 5, 2010

I have a script that is in Unix. I wanted to know is there any difference between output of ls command in unix and linux

In Unix
Code:
ls -ltr | awk '{print $9}'
In linux output is something similar to

Code:
drwxrwxrwx 2 vinay vinay 4096 2010-02-04 20:31 test
According to above output nothing will be displayed for

Code:
ls -ltr | awk '{print $9}'
ls -ltr | awk '{print $8}' will give test as ouptut in Linux.

I wanted to check the output format for ls -ltr, Anyone using Unix systems may paste a sample output of the command ls -ltr..

View 2 Replies View Related

General :: Set Time Format Using Command?

Feb 22, 2011

I want to know how to set time format (12 hrs or 24 hrs) using command.I tried thisode:date +%T -s "2011-02-23 14:00"But it only displays 24 hrs format on TERMINAL but it does not SET 24 hrs format on the system

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved