[Linux-Biella] Proprieta' di storage di una directory
Del Vecchio Lorenzo
l.delvecchio a bilug.linux.it
Gio 21 Maggio 2009 02:37:51 CEST
On Mon, May 18, 2009 10:55 am, Paul TT wrote:
> puoi postare (in ordine e senza fare altro in mezzo):
> dmesg | grep sd
> fdisk -l /dev/sda
> mount
> df -h
> cd <puntodimountdisda6>
> du -h
> ls -la
> cd
> hdparm -i /dev/sda
Ti chiedo scusa ma certi comandi sono nuovi e non so come gestirne
l'output. Nel senso che non mi e' ben chiaro cosa ti serva e cosi' posto
tutto senza pulire... Altri li ho lasciati completi comunque per evitare
di cancellare cose che invece servono (Ma per scrupolo piu' che altro...)
root a abeplace:/home/abewayer# mkdir /media/mp
root a abeplace:/home/abewayer# mount /dev/sda6 /media/mp/
root a abeplace:/home/abewayer# dmesg | grep sd
[ 3.333121] Driver 'sd' needs updating - please use bus_type methods
[ 3.843213] sd 0:0:0:0: [sda] 234441648 512-byte hardware sectors: (120
GB/111 GiB)
[ 3.843255] sd 0:0:0:0: [sda] Write Protect is off
[ 3.843261] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 3.843329] sd 0:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 3.843481] sd 0:0:0:0: [sda] 234441648 512-byte hardware sectors: (120
GB/111 GiB)
[ 3.843520] sd 0:0:0:0: [sda] Write Protect is off
[ 3.843526] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 3.843591] sd 0:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 3.843600] sda: sda1 sda2 < sda5 sda6 sda7 > sda3
[ 3.933304] sd 0:0:0:0: [sda] Attached SCSI disk
[ 3.933406] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 9.462692] sd 2:0:0:0: [sdb] 4030464 512-byte hardware sectors: (2.06
GB/1.92 GiB)
[ 9.463181] sd 2:0:0:0: [sdb] Write Protect is off
[ 9.463184] sd 2:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 9.463188] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 9.464808] sd 2:0:0:0: [sdb] 4030464 512-byte hardware sectors: (2.06
GB/1.92 GiB)
[ 9.465307] sd 2:0:0:0: [sdb] Write Protect is off
[ 9.465311] sd 2:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 9.465313] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 9.465318] sdb: sdb1
[ 9.466844] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[ 9.466929] sd 2:0:0:0: Attached scsi generic sg2 type 0
[ 12.920731] EXT3-fs: sda7: orphan cleanup on readonly fs
[ 12.920778] EXT3-fs: sda7: 1 orphan inode deleted
[ 22.485355] sdhci: Secure Digital Host Controller Interface driver
[ 22.485359] sdhci: Copyright(c) Pierre Ossman
[ 22.493776] sdhci-pci 0000:06:04.2: SDHCI controller found [1524:0550]
(rev 1)
[ 22.493793] sdhci-pci 0000:06:04.2: enabling device (0000 -> 0002)
[ 22.493803] sdhci-pci 0000:06:04.2: PCI INT B -> GSI 17 (level, low) ->
IRQ 17
[ 22.494025] sdhci-pci 0000:06:04.4: SDHCI controller found [1524:0551]
(rev 1)
[ 22.494039] sdhci-pci 0000:06:04.4: enabling device (0000 -> 0002)
[ 22.494046] sdhci-pci 0000:06:04.4: PCI INT B -> GSI 17 (level, low) ->
IRQ 17
[ 23.942824] EXT3 FS on sda7, internal journal
[ 24.803716] type=1505 audit(1242859207.297:8): operation="profile_load"
name="/usr/sbin/cupsd" name2="default" pid=2176
[ 6224.555189] EXT3 FS on sda6, internal journal
root a abeplace:/home/abewayer# fdisk -l /dev/sda
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa1d09291
Device Boot Start End Blocks Id System
/dev/sda1 * 11714 14263 20482875 83 Linux
/dev/sda2 1 11599 93168936 5 Extended
/dev/sda3 14264 14593 2650725 82 Linux swap / Solaris
/dev/sda5 1 2432 19534977 83 Linux
/dev/sda6 2433 9098 53544613+ 83 Linux
/dev/sda7 9099 11599 20089251 83 Linux
Partition table entries are not in disk order
root a abeplace:/home/abewayer# mount
/dev/sda7 on / type ext3 (rw,relatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.28-11-generic/volatile type tmpfs (rw,mode=755)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/abewayer/.gvfs type fuse.gvfs-fuse-daemon
(rw,nosuid,nodev,user=abewayer)
/dev/sda6 on /media/mp type ext3 (rw)
root a abeplace:~# man df
root a abeplace:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 19G 4,6G 14G 26% /
tmpfs 497M 0 497M 0% /lib/init/rw
varrun 497M 112K 497M 1% /var/run
varlock 497M 0 497M 0% /var/lock
udev 497M 152K 497M 1% /dev
tmpfs 497M 88K 497M 1% /dev/shm
lrm 497M 2,4M 495M 1%
/lib/modules/2.6.28-11-generic/volatile
/dev/sda6 31G 177M 29G 1% /media/mp
root a abeplace:/home/abewayer# cd /media/mp/
root a abeplace:/media/mp# man du
root a abeplace:/media/mp# du -h
16K ./lost+found
20K .
root a abeplace:/media/mp# ls -la
total 24
drwxr-xr-x 3 root root 4096 2009-05-18 13:27 .
drwxr-xr-x 4 root root 4096 2009-05-21 02:23 ..
drwx------ 2 root root 16384 2009-05-18 13:27 lost+found
root a abeplace:/media/mp# cd
root a abeplace:~# man hdparm
root a abeplace:~# hdparm -i /dev/sda
/dev/sda:
Model=TOSHIBA MK1234GSX , FwRev=AH001J , SerialNo=
17KYT0BTT
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=?16?
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234441648
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-3,4,5,6,7
* signifies the current active mode
--
"Le periferiche di input/output sono
l'unica alternativa alla memoria"
Abe the n00b cutting/pasting ape
Abe is the #484397 linux registered userer
Mio blog: www.abelascimmia.altervista.org
jabber => wayer a jabber.linux.it
Maggiori informazioni sulla lista
Linux